Newer
Older
postorius / templates / mailman-django / lists / index.html
@benste benste on 16 Aug 2011 1 KB list index changes in layout
  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 header %}
  9. <div class="mm_box mm_clear">
  10. <div class="mm_boxHeader">{% trans "About" %}</div>
  11. {% trans "This 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. - Because of missing ACL functionality we show non-advertised list as well, but ammending a litle comment (non-public) <br>Please be aware that this will change in future releases "%}
  12. </div>
  13. {% endblock %}
  14.  
  15. {% block actionButtonsList %}
  16. <ul class="mm_actionButtons">
  17. <li class="mm_list_new"><a href="{% url list_new %}">{% trans "Create new List" %}</a></li>
  18. </ul>
  19. {% endblock %}
  20.  
  21. {% block smallBoxLeft %}
  22. {% for list in lists %}
  23. <!-- #TODO ACL - advertised for admin only-->
  24. <div class="mm_box mm_smallBox {% cycle 'mm_clear' '' %}">
  25. <div class="mm_boxHeader">
  26. <a href="{% url list_summary fqdn_listname=list.fqdn_listname %}">
  27. {{ list.real_name }}
  28. {% if not list.settings.advertised %}(non-public){% endif %}
  29. </a>
  30. </div>
  31. <ul>
  32. <li><a href="{% url list_subscriptions fqdn_listname=list.fqdn_listname %}">{%trans "Subscriptions" %}</a></li>
  33. <li><a href="{% url list_settings list.fqdn_listname %}">{%trans "Settings" %}</a></li>
  34. <li><a href="{% url list_delete list.fqdn_listname %}">{%trans "Delete list" %}</a></li>
  35. </ul>
  36. </div>
  37. {% endfor %}
  38. {% endblock %}