add a block around content of <li class="ui-name"> (#34547)
This commit is contained in:
parent
1c7b558c83
commit
a329682e41
|
@ -118,6 +118,9 @@ ul.user-info {
|
|||
a {
|
||||
color: white;
|
||||
}
|
||||
.ui-name a {
|
||||
border-bottom: none;
|
||||
}
|
||||
.ui-help {
|
||||
padding-left: 3em;
|
||||
}
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue