{% extends '__pagure__/master.html' %}
{#
SPDX-FileCopyrightText: 2020-2021 zPlus
SPDX-License-Identifier: GPL-2.0-only
#}
{# This template overrides Pagure's master.html by adding a "Federation" button
# to the navigation bar.
# __pagure__ is a symlink to the Pagure templates folder. The link is created
# during plugin initialization. It exists because we cannot use
# {% extends 'master.html' %}, we need to use a different name for the parent
# file otherwise we enter an infinite recursion.
#}
# Add items to the menu bar
{% block masthead_navbar_items %}
# Only if logged in
{% if g.fas_user %}
Federation
{% endif %}
{% endblock %}