add a block around content of <li class="ui-name"> (#34547)

This commit is contained in:
Benjamin Dauvergne 2019-07-04 18:01:31 +02:00
parent 1c7b558c83
commit a329682e41
2 changed files with 4 additions and 1 deletions

View File

@ -118,6 +118,9 @@ ul.user-info {
a {
color: white;
}
.ui-name a {
border-bottom: none;
}
.ui-help {
padding-left: 3em;
}

View File

@ -31,7 +31,7 @@
{% endif %}
{% if user.is_authenticated %}
<li class="ui-avatar">{{ user.get_full_name|slice:":1" }}</li>
<li class="ui-name">{{ user.get_full_name }}</li>
<li class="ui-name">{% block user-name %}{{ user.get_full_name }}{% endblock %}</li>
<li class="ui-logout"><a href="{% block logout-url %}index.html{% endblock %}"
title="{% trans "Logout" %}"></a></li>
{% endif %}