123456789101112131415161718192021222324 |
- {% extends '__pagure__/master.html' %}
- {# 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 %}
- <li class="nav-item ml-3">
- <a class="nav-link font-weight-bold" href="/federation">
- Federation
- </a>
- </li>
- {% endif %}
-
- {% endblock %}
|