Newer
Older
postorius / src / mailmanweb / templates / mailmanweb / lists / index.html
@Florian Fuchs Florian Fuchs on 22 Mar 2012 939 bytes - removed language settings from list_new
  1. {% extends "mailmanweb/base.html" %}
  2. {% load i18n %}
  3.  
  4. {% block main %}
  5. {% if user.is_superuser %}
  6. <ul class="mm_nav">
  7. <li class="mm_new_list"><a class="btn btn-mini btn-success" href="{% url list_new %}">{% trans "New List" %}</a></li>
  8. </ul>
  9. {% endif %}
  10. <h1>{% trans 'Lists' %}</h1>
  11.  
  12. <table class="table table-bordered table-striped">
  13. <thead>
  14. <tr>
  15. <th>{% trans 'List name' %}</th>
  16. <th>{% trans 'List address' %}</th>
  17. <th>{% trans 'Description' %}</th>
  18. </tr>
  19. </thead>
  20. <tbody>
  21. {% for list in lists %}
  22. <tr>
  23. <td>
  24. <a href="{% url list_summary fqdn_listname=list.fqdn_listname %}">{{ list.display_name }}</a>
  25. </td>
  26. <td>{{ list.fqdn_listname }}</td>
  27. <td>{{ list.settings.description }}</td>
  28. </tr>
  29. {% endfor %}
  30. </tbody>
  31. </table>
  32. {% endblock main %}