Projet

Général

Profil

0001-manager-fix-logout-links-9274.patch

Frédéric Péters, 09 décembre 2015 14:59

Télécharger (1,32 ko)

Voir les différences:

Subject: [PATCH] manager: fix logout links (#9274)

 .../manager/templates/authentic2/manager/base.html          | 13 +++++++++++++
 1 file changed, 13 insertions(+)
src/authentic2/manager/templates/authentic2/manager/base.html
6 6
{% block page-title %}{% firstof site_title "Authentic2" %}{% endblock %}
7 7
{% block site-title %}{% firstof site_title "Authentic2" %}{% endblock %}
8 8

  
9
{% block user-links %}
10
  <ul class="user-info">
11
    {% if user.is_authenticated %}
12
      <li class="ui-name">{{ user.get_full_name }}</li>
13
      <li class="ui-logout"><a href="{% url 'auth_logout' %}">{% trans "Logout" %}</a></li>
14
    {% endif %}
15
  </ul>
16
{% endblock %}
17

  
18
{% block appbar %}
19
  <h2>{% block page_title %}{% endblock %}</h2>
20
{% endblock %}
21

  
9 22
{% block css %}
10 23
  {{ block.super }}
11 24
  <link rel="stylesheet" type="text/css" media="all" href="{% static "authentic2/manager/css/style.css" %}"/>
12
-