2016-08-09 06:42:21 +00:00
|
|
|
{% load static %}
|
2016-09-03 16:51:36 +00:00
|
|
|
{% load i18n %}
|
2016-08-09 06:42:21 +00:00
|
|
|
<li class="nav-header">
|
|
|
|
<div class="dropdown profile-element">
|
|
|
|
<span>
|
|
|
|
<img alt="image" class="img-circle" width="48" height="48" src="{% static "img/root.png" %}"/>
|
|
|
|
</span>
|
|
|
|
<a data-toggle="dropdown" class="dropdown-toggle" href="#">
|
|
|
|
<span class="clear">
|
|
|
|
<span class="block m-t-xs">
|
2016-09-05 13:38:21 +00:00
|
|
|
<strong class="font-bold"> {{ user.name }}<span style="color: #8095a8"></span></strong>
|
2016-08-09 06:42:21 +00:00
|
|
|
</span>
|
|
|
|
<span class="text-muted text-xs block">
|
2016-09-06 07:03:37 +00:00
|
|
|
{{ user.get_role_display | default:_('User') }}<b class="caret"></b>
|
2016-08-09 06:42:21 +00:00
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</a>
|
|
|
|
<ul class="dropdown-menu animated fadeInRight m-t-xs">
|
2016-09-03 16:51:36 +00:00
|
|
|
<li><a value="">{% trans 'Profile' %}</a></li>
|
2016-08-09 06:42:21 +00:00
|
|
|
<li class="divider"></li>
|
2016-09-03 16:51:36 +00:00
|
|
|
<li><a href="">{% trans 'Logout' %}</a></li>
|
2016-08-09 06:42:21 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="logo-element">
|
|
|
|
JMS
|
|
|
|
</div>
|
|
|
|
</li>
|