Newer
Older
postorius / templates / mailman-django / menu / index.html
  1. {% load i18n %}
  2. {% with "new_list" as selected %}<!-- TODO use include "template" instead of with .. as .. end with-->
  3. <ul class="menu">
  4. <li id="admin">{% include "mailman-django/menu/administration.html" %}</li>
  5. <li id="maintanance">{% include "mailman-django/menu/maintanance.html" %}</li>
  6. <li id="general">{% include "mailman-django/menu/general.html" %}</li>
  7. <li id="info">{% include "mailman-django/menu/info.html" %}</li>
  8. <li id="subscriptions">{% include "mailman-django/menu/subscriptions.html" %}</li>
  9. <li id="user_options">{% include "mailman-django/menu/user_options.html" %}</li>
  10. {% comment %} {% if user in list.moderator %}{% endcomment %}
  11. ACL:TODO
  12.  
  13. <li{% if selected == "requests" %}id="selected"{% endif %}>
  14. <a href="{% comment %}{% url ... %}TODO add List{% endcomment %}">
  15. {% trans "Requests" %} Link:TODO
  16. </a>
  17. </li>
  18. {% comment %}{% endif %}{% endcomment %}
  19. </ul>
  20. {% endwith %}