{% extends "distributed/base.html" %}

{% load staticfiles %}
{% load i18n %}
{% load my_filters %}

{% block i18n_do_not_translate %}
    {% block manage_active_teachers %}active{% endblock manage_active_teachers %}
    {% block manage_active_admins %}active{% endblock manage_active_admins %}
{% endblock i18n_do_not_translate %}

{% block subnavbar %}

    <div class="manage-nav logged-in-only admin-only">
        <ul class="nav nav-tabs">
            <div class="mobile-manage-nav">
            {% if request.session.facility_user.facility.id %}
                <li class="teacher-only users {% block user_active %}{% endblock user_active %}"><a href="{% url 'facility_management' zone_id=None facility_id=request.session.facility_user.facility.id %}" title="{% trans 'Manage Users' %}"><div><span class="icon icon-uniE606"></span><br/>{% trans "Users" %}</div></a></li>
            {% endif %}
                <li class="facility {% block facility_active %}{% endblock facility_active %}"><a href="{% url 'zone_management' zone_id=None %}" title="{% trans 'Manage Facilities' %}"><div><span class="icon icon-uniE603"></span><br/>{% trans "Facilities" %}</div></a></li>         
            </div>
            <div class="mobile-manage-nav">
                <li class="video {% block video_active %}{% endblock video_active %}"><a href="{% url 'update_videos' %}" title="{% trans 'Update this server with new videos and languages' %}"><div><span class="icon icon-uniE610"></span><br/>{% trans "Videos" %}</div></a></li>
                <li class="languages {% block languages_active %}{% endblock languages_active %}"><a href="{% url 'update_languages' %}"><div><span class="icon icon-uniE600"></span><br/>{% trans "Language" %}</div></a></li>
            </div>
        </ul>
    </div>
{% endblock subnavbar %}