blob: 47e18f1cd714f8d307b48d82b3365fa10e746004 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{% block userCard %}
<li class="dropdown user user-menu">
{% block userCard_nav %}
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<img src="{{ current_user.avatar }}" class="user-image" alt="User Image">
<span class="hidden-xs">{{current_user.first_name}} {{current_user.last_name}}</span>
<i class="fa fa-chevron-down"></i>
</a>
{% endblock %}
<ul class="dropdown-menu">
{% block userCard_userInfo %}
<!-- User image -->
<li class="user-header">
<img src="{{ current_user.avatar }}" class="img-circle" alt="User Image">
<p>
{{current_user.first_name}} {{current_user.last_name}}
<small>({{current_user.user_name}})</small>
</p>
</li>
{% endblock %}
<!-- Menu Footer-->
<li class="user-footer">
{% block userCard_menu %}
{% if checkAccess('uri_account_settings') %}
<a href="{{site.uri.public}}/account/settings" class="btn btn-default btn-flat btn-block">{{translate("ACCOUNT.MY")}}</a>
{% endif %}
<a href="{{site.uri.public}}/account/logout" class="btn btn-default btn-flat btn-block">{{translate("LOGOUT")}}</a>
{% endblock %}
</li>
</ul>
</li>
{% endblock %}
|