django-sqrl-2/sqrl/templates/admin/base.html

20 lines
748 B
HTML
Raw Normal View History

2019-09-02 02:03:23 -05:00
{% extends 'contrib/admin/templates/admin/base.html' %}
{% load i18n admin_static %}
{% block userlinks %}
{% if site_url %}
<a href="{{ site_url }}">{% trans 'View site' %}</a> /
{% endif %}
{% if user.is_active and user.is_staff %}
{% url 'django-admindocs-docroot' as docsroot %}
{% if docsroot %}
<a href="{{ docsroot }}">{% trans 'Documentation' %}</a> /
{% endif %}
{% endif %}
{% if user.has_usable_password %}
<a href="{% url 'admin:password_change' %}">{% trans 'Change password' %}</a> /
{% endif %}
2019-09-02 09:42:24 -05:00
<a href="{% url 'sqrl:admin-sqrl_manage' %}">{% trans 'Manage SQRL' %}</a> /
2019-09-02 02:03:23 -05:00
<a href="{% url 'admin:logout' %}">{% trans 'Log out' %}</a>
{% endblock %}