1
0
Fork 0
mirror of synced 2024-09-12 15:38:48 +12:00
ArchiveBox/archivebox/templates/core/navigation.html
Tristan Sherliker d6a8e12482
Update navigation.html
change navigation template so docs link opens in new tab
2024-01-14 16:40:11 +00:00

26 lines
1 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{% load i18n static %}
<div id="user-tools">
<a href="{% url 'admin:Add' %}">Add </a> &nbsp; &nbsp;
<a href="{% url 'Home' %}">Snapshots</a> |
<a href="/admin/core/tag/">Tags</a> |
<a href="/admin/core/archiveresult/?o=-1">Log</a> &nbsp; &nbsp;
<a href="{% url 'Docs' target="_blank" rel="noopener noreferrer"%}">Docs</a> |
<a href="{% url 'public-index' %}">Public</a> |
<a href="/admin/">Admin</a>
&nbsp; &nbsp;
{% if user.is_authenticated %}
{% block welcome-msg %}
{% trans 'User' %}
<strong>{% firstof user.get_short_name user.get_username %}</strong> &nbsp; &nbsp;
{% 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 %}
</div>