This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/passbook/admin/templates/administration/base.html

27 lines
1.2 KiB
HTML
Raw Normal View History

2018-11-11 12:41:48 +00:00
{% extends "overview/base.html" %}
{% load i18n %}
{% load is_active %}
{% block nav_secondary %}
<ul class="nav navbar-nav navbar-persistent">
2018-11-16 08:10:35 +00:00
<li class="{% is_active 'passbook_admin:overview' %}">
<a href="{% url 'passbook_admin:overview' %}">{% trans 'Overview' %}</a>
2018-11-11 12:41:48 +00:00
</li>
2018-11-26 21:09:04 +00:00
<li class="{% is_active 'passbook_admin:applications' 'passbook_admin:application-create' 'passbook_admin:application-update' 'passbook_admin:application-delete' %}">
2018-11-16 08:10:35 +00:00
<a href="{% url 'passbook_admin:applications' %}">{% trans 'Applications' %}</a>
</li>
2018-11-26 21:09:04 +00:00
<li class="{% is_active 'passbook_admin:sources' 'passbook_admin:source-create' 'passbook_admin:source-update' 'passbook_admin:source-delete' %}">
2018-11-16 08:10:35 +00:00
<a href="{% url 'passbook_admin:sources' %}">{% trans 'Sources' %}</a>
2018-11-11 12:41:48 +00:00
</li>
2018-11-26 21:09:04 +00:00
<li class="{% is_active 'passbook_admin:rules' 'passbook_admin:rule-create' 'passbook_admin:rule-update' 'passbook_admin:rule-delete' %}">
<a href="{% url 'passbook_admin:rules' %}">{% trans 'Rules' %}</a>
2018-11-11 12:41:48 +00:00
</li>
<li>
<a href="#">{% trans 'Users' %}</a>
</li>
2018-11-16 10:40:24 +00:00
<li class="{% is_active_app 'admin' %}">
<a href="{% url 'admin:index' %}">{% trans 'Django' %}</a>
</li>
2018-11-11 12:41:48 +00:00
</ul>
{% endblock %}