Newer
Older
postorius / templates / mailman-django / lists / index.html
  1. {% extends "mailman-django/base.html" %}
  2. {% load i18n %}
  3.  
  4. {% block heading %}
  5. All available Lists <span>on {{domain}}</span>
  6. {% endblock %}
  7.  
  8. {% block smallBoxLeft %}
  9. {% for list in lists %}
  10. <!-- #TODO ACL - advertised for admin only-->
  11. <div class="mm_box mm_smallBox {% cycle 'mm_clear' '' %}">
  12. <div class="mm_boxHeader">{{ list.real_name }} {% if not list.settings.advertised %}(non-public){% endif %}</div>
  13. <ul>
  14. <li><a href="{% url list_subscriptions fqdn_listname=list.fqdn_listname %}">{%trans "Subscriptions" %}</a></li>
  15. <li><a href="{% url list_summary fqdn_listname=list.fqdn_listname %}">{%trans "Info" %}</a></li>
  16. <li><a href="{% url list_settings list.fqdn_listname %}">{%trans "Settings" %}</a></li>
  17. <li><a href="{% url list_delete list.fqdn_listname %}">{%trans "Delete list" %}</a></li>
  18. </ul>
  19. </div>
  20. {% endfor %}
  21. {% endblock %}
  22.  
  23. {% block header %}
  24. <div class="mm_box mm_clear">
  25. <div class="mm_boxHeader">{% trans "About" %}</div>
  26. {% trans "list_index site shows all available lists, either on the registered Domain or the whole server. Please bare in mind that we can only show public advertised lists."%}
  27. </div>
  28. {% endblock %}
  29.  
  30. {% block actionButtonsList %}
  31. <ul class="mm_actionButtons">
  32. <li class="mm_subscribe"><a href="{% url list_new %}">{% trans "Create new List" %}</a></li>
  33. </ul>
  34. {% endblock %}