Projet

Général

Profil

0001-add-a-block-around-content-of-li-class-ui-name-34547.patch

Benjamin Dauvergne, 11 juillet 2019 15:42

Télécharger (1,33 ko)

Voir les différences:

Subject: [PATCH] add a block around content of <li class="ui-name"> (#34547)

 gadjo/static/css/gadjo.scss     | 3 +++
 gadjo/templates/gadjo/root.html | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
gadjo/static/css/gadjo.scss
118 118
	a {
119 119
		color: white;
120 120
	}
121
	.ui-name a {
122
		border-bottom: none;
123
	}
121 124
	.ui-help {
122 125
		padding-left: 3em;
123 126
	}
gadjo/templates/gadjo/root.html
31 31
      {% endif %}
32 32
      {% if user.is_authenticated %}
33 33
        <li class="ui-avatar">{{ user.get_full_name|slice:":1" }}</li>
34
        <li class="ui-name">{{ user.get_full_name }}</li>
34
        <li class="ui-name">{% block user-name %}{{ user.get_full_name }}{% endblock %}</li>
35 35
        <li class="ui-logout"><a href="{% block logout-url %}index.html{% endblock %}"
36 36
                                 title="{% trans "Logout" %}"></a></li>
37 37
      {% endif %}
38
-