blob: b2965e062a2fd7de9adc77c82ab46ea4a1a14722 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
{% block navigation %}
{% if checkAccess('uri_dashboard') %}
<li>
<a href="{{ site.uri.public }}/dashboard"><i class="fa fa-dashboard fa-fw"></i>
<span>{{ translate("DASHBOARD") }}</span>
</a>
</li>
{% endif %}
{% if checkAccess('uri_users') %}
<li>
<a href="{{ site.uri.public }}/users"><i class="fa fa-user fa-fw"></i>
<span>{{ translate("USER", 2) }}</span>
</a>
</li>
{% elseif checkAccess('uri_group', {
'group': current_user.group
}) %}
<li>
<a href="{{ site.uri.public }}/groups/g/{{ current_user.group.slug }}"><i
class="{{ current_user.group.icon }} fa-fw"></i>
<span>{{ translate("GROUP.MANAGE") }}</span>
</a>
</li>
{% endif %}
{% if checkAccess('uri_activities') %}
<li>
<a href="{{ site.uri.public }}/activities"><i class="fa fa-tasks fa-fw"></i>
<span>{{ translate("ACTIVITY", 2) }}</span>
</a>
</li>
{% endif %}
{% if checkAccess('uri_roles') %}
<li>
<a href="{{ site.uri.public }}/roles"><i class="fa fa-drivers-license fa-fw"></i>
<span>{{ translate("ROLE", 2) }}</span>
</a>
</li>
{% endif %}
{% if checkAccess('uri_permissions') %}
<li>
<a href="{{ site.uri.public }}/permissions"><i class="fa fa-key fa-fw"></i>
<span>{{ translate("PERMISSION", 2) }}</span>
</a>
</li>
{% endif %}
{% if checkAccess('uri_groups') %}
<li>
<a href="{{ site.uri.public }}/groups"><i class="fa fa-users fa-fw"></i>
<span>{{ translate("GROUP", 2) }}</span>
</a>
</li>
{% endif %}
{% endblock %}
|