templates: add block for an help link (#20880)

This commit is contained in:
Frédéric Péters 2017-12-23 18:36:31 +01:00
parent df36383676
commit 1fc5fc76cb
1 changed files with 8 additions and 6 deletions

View File

@ -26,12 +26,14 @@
{% endblock %}
{% block user-links %}
<ul class="user-info">
{% if user.is_authenticated %}
<li class="ui-name">{{ user.get_full_name }}</li>
<li class="ui-logout"><a href="{% block logout-url %}index.html{% endblock %}">{% trans "Logout" %}</a></li>
{% endif %}
</ul>
{% endblock %}
{% if user.is_authenticated %}
<li class="ui-name">{{ user.get_full_name }}</li>
<li class="ui-logout"><a href="{% block logout-url %}index.html{% endblock %}">{% trans "Logout" %}</a></li>
{% endif %}
{% block help-link %}
{% endblock %}
</ul>
{% endblock %}
</div>
<div id="main">
<div id="header">