gl-website-deployer/admin/phpMyAdmin/templates/server/privileges/subnav.twig

17 lines
534 B
Twig
Raw Normal View History

2024-11-23 20:45:29 +01:00
<div class="row">
<ul class="nav nav-pills m-2">
<li class="nav-item">
<a class="nav-link{{ active == 'privileges' ? ' active' }}" href="{{ url('/server/privileges', {'viewing_mode': 'server'}) }}">
{% trans 'User accounts overview' %}
</a>
</li>
{% if is_super_user %}
<li class="nav-item">
<a class="nav-link{{ active == 'user-groups' ? ' active' }}" href="{{ url('/server/user-groups') }}">
{% trans 'User groups' %}
</a>
</li>
{% endif %}
</ul>
</div>