Newer
Older
postorius / templates / mailman-django / menu / administration.html
{% load i18n %}

{% block menu_administration %}
    <a href="{% url administration %}"> {% trans "Administration" %}</a>
    <div id="menu_administration"><ul>    
        <li {% if selected == "domains" %}id="selected"{% endif %}>
            <a href="{% url domains %}">
                {% trans "Domains" %}
            </a>
        </li>
        <li {% if selected == "new_list" %}id="selected"{% endif %}>
            <a href="{% url list_new %}">
                {% trans "New List" %}
            </a>
        </li>
        {% if fqdn_listname %}
        <li {% if selected == "delete_list" %}id="selected"{% endif %}>
            <a href="{% url list_delete fqdn_listname %}">
                {% trans "Delete List #TODO:really delete dialog" %}
            </a>
        </li>
        <li{% if selected == "administrivia" %}id="selected"{% endif %}>
            <a href="{% url list_settings fqdn_listname %}?option=administrivia">
                {% trans "Administrivia" %}
            </a>
        </li>
        {% endif %}
    </ul></div>
{% endblock%}