2021-04-06 03:22:05 +00:00
|
|
|
|
{% load i18n static %}
|
|
|
|
|
|
|
|
|
|
<div id="user-tools">
|
|
|
|
|
<a href="{% url 'admin:Add' %}">Add ➕</a>
|
|
|
|
|
<a href="{% url 'Home' %}">Snapshots</a> |
|
|
|
|
|
<a href="/admin/core/tag/">Tags</a> |
|
|
|
|
|
<a href="/admin/core/archiveresult/?o=-1">Log</a>
|
|
|
|
|
<a href="{% url 'Docs' %}">Docs</a> |
|
|
|
|
|
<a href="{% url 'public-index' %}">Public</a> |
|
|
|
|
|
<a href="/admin/">Admin</a>
|
|
|
|
|
|
2021-04-06 04:44:01 +00:00
|
|
|
|
{% if user.is_authenticated %}
|
|
|
|
|
{% block welcome-msg %}
|
|
|
|
|
{% trans 'User' %}
|
|
|
|
|
<strong>{% firstof user.get_short_name user.get_username %}</strong>
|
|
|
|
|
{% endblock %}
|
|
|
|
|
{% block userlinks %}
|
|
|
|
|
{% if user.has_usable_password %}
|
|
|
|
|
<a href="{% url 'admin:password_change' %}">Account</a> /
|
|
|
|
|
{% endif %}
|
|
|
|
|
<a href="{% url 'admin:logout' %}">{% trans 'Log out' %}</a>
|
|
|
|
|
{% endblock %}
|
|
|
|
|
{% else %}
|
|
|
|
|
<a href="{% url 'admin:login' %}">{% trans 'Log in' %}</a>
|
|
|
|
|
{% endif %}
|
2021-04-06 03:22:05 +00:00
|
|
|
|
</div>
|