diff options
Diffstat (limited to 'main/app/sprinkles/admin/templates/navigation/sidebar-menu.html.twig')
-rw-r--r-- | main/app/sprinkles/admin/templates/navigation/sidebar-menu.html.twig | 104 |
1 files changed, 52 insertions, 52 deletions
diff --git a/main/app/sprinkles/admin/templates/navigation/sidebar-menu.html.twig b/main/app/sprinkles/admin/templates/navigation/sidebar-menu.html.twig index 446f260..b2965e0 100644 --- a/main/app/sprinkles/admin/templates/navigation/sidebar-menu.html.twig +++ b/main/app/sprinkles/admin/templates/navigation/sidebar-menu.html.twig @@ -1,53 +1,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 %} +{% 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 %}
\ No newline at end of file |