|
|
@ -134,15 +134,10 @@ |
|
|
|
<li><a href="{% url 'sapl.base:login' %}"><img src="{% static 'img/user.png' %}"></a></li> |
|
|
|
{% else %} |
|
|
|
<li class="dropdown"> |
|
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"> |
|
|
|
{% if user.first_name or user.last_name %} |
|
|
|
{{ user.get_full_name }} |
|
|
|
{% else %} |
|
|
|
{{ user.username }} |
|
|
|
{% endif %} |
|
|
|
<span class="caret"></span> |
|
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><img height="30" width="30" src="{% static 'img/authenticated.png' %}"><span class="caret"></span></a> |
|
|
|
</a> |
|
|
|
<ul class="dropdown-menu"> |
|
|
|
<li><a>{{user.username}}</a></li> |
|
|
|
<li><a href="{% url 'sapl.base:logout' %}">Sair</a></li> |
|
|
|
</ul> |
|
|
|
</li> |
|
|
|