Newer
Older
postorius / templates / mailman-django / lists / settings.html
@benste benste on 16 Aug 2011 1 KB added sections for list settins
  1. {% extends extend_template %}
  2. {% load i18n %}
  3.  
  4. {% block heading %}
  5. {{list.list_name}} <span>{{list.real_name}}</span>
  6. {% endblock %}
  7.  
  8. {% block header %}
  9. {% if visible_section %}
  10. <div class="mm_box mm_clear">
  11. <div class="mm_boxHeader">{% trans "List Settings " %}{{ fqdn_listname }}<br>
  12. </div>
  13. <p>{% trans "This page visualizes all list settings. This gives an idea of what the settings page could look like." %}</p>
  14.  
  15. <form action="{% url list_settings fqdn_listname=list.fqdn_listname visible_section=visible_section visible_option=visible_option %}" method="post" class="list_settings">
  16. {{ form.as_div }}
  17. <div class="field">
  18. <button type="submit">{%trans "Save changes" %}</button>
  19. </div>
  20. </form>
  21. </div>
  22. {% endif %}
  23. {% endblock %}
  24.  
  25. {% block smallBoxLeft %}
  26. {% for section in form_sections %}
  27. <div class="mm_box mm_smallBox {% cycle 'mm_clear' '' %}">
  28. <div class="mm_boxHeader"><a href="{% url list_settings fqdn_listname=list.fqdn_listname visible_section=section.0 visible_option=None %}">{{section.0}}</a></div>
  29. {{section.1}}
  30. </div>
  31. {% endfor %}
  32. {% endblock %}
  33.  
  34.  
  35. {% block actionButtonsList %}
  36. <ul class="mm_actionButtons">
  37. <li class="mm_list_summary"><a href="{% url list_summary list.fqdn_listname %}">{% trans "List Summary" %}</a></li>
  38. <li class="mm_delete_list"><a href="{% url list_delete list.fqdn_listname %}">{% trans "Delete List" %}</a></li>
  39. <li class="mm_mass_subscribe"><a href="{% url mass_subscribe list.fqdn_listname %}">{% trans "Mass Subscribe to List" %}</a></li>
  40. </ul>
  41. {% endblock %}