{% extends "admin_base.html" %}
{% load i18n %}

{% block left_panel %}
<div class="side-tabnav">
    <h3 class="hd">{% trans "System Admin" %}</h3>
    <ul class="side-tabnav-tabs">
        <li class="tab {% block cur_repo %}{% endblock %}">
            <a href="{{ SITE_ROOT }}sys/seafadmin/" class="lib">{% trans "Libraries" %}</a>
        </li>
        <li class="tab {% block cur_users %}{% endblock %}">
            <a href="{{ SITE_ROOT }}sys/useradmin/" class="members">{% trans "Users" %}</a>
        </li>
        <li class="tab {% block cur_groups %}{% endblock %}">
            <a href="{{ SITE_ROOT }}sys/groupadmin/" class="group">{% trans "Groups" %}</a>
        </li>
        {% if multi_tenancy %}
        <li class="tab {% block cur_org %}{% endblock %}">
            <a href="{{ SITE_ROOT }}sys/orgadmin/" class="org">{% trans "Organizations" %}</a>
        </li>
        {% endif %}
        <li class="tab {% block cur_notice %}{% endblock %}">
            <a href="{{ SITE_ROOT }}sys/notificationadmin/" class="msgs">{% trans "Notifications" %}</a>
        </li>
        <li class="tab {% block cur_links %}{% endblock %}">
            <a href="{{ SITE_ROOT }}sys/publinkadmin/" class="links">{% trans "Links" %}</a>
        </li>
        {% if traffic_stats_enabled %}
        <li class="tab {% block cur_traffic %}{% endblock %}">
            <a href="{{ SITE_ROOT }}sys/trafficadmin/" class="traffic">{% trans "Traffic" %}</a>
        </li>
        {% endif %}
        {% if sysadmin_extra_enabled %}
        <li class="tab {% block cur_log %}{% endblock %}">
            <a href="{{ SITE_ROOT }}sys/loginadmin/" class="activity">{% trans "Logs" %}</a>
        </li>
        {% endif %}
    </ul>
</div>
{% endblock %}
