Newer
Older
postorius / src / mailman_django / templates / mailman-django / domain_index.html
  1. {% extends "mailman-django/base.html" %}
  2. {% load i18n %}
  3.  
  4. {% block heading %}
  5. {% trans "Domain Index" %}
  6. {% endblock %}
  7.  
  8. {% block header %}
  9. <div class="mm_box mm_clear">
  10. <div class="mm_boxHeader">{% trans "About" %}</div>
  11. Register new Domains.
  12. </p>
  13. </div>
  14. {% endblock %}
  15. {% block actionButtonsList %}
  16. <ul class="mm_actionButtons">
  17. <li class="mm_new_domain"><a href="{% url domain_new %}">{% trans "New Domain" %}</a></li>
  18. {% if not domain == "unregistered Domain" %}
  19. <li class="mm_delete_domain">
  20. <a href="#missing_REST_function">{% trans "Delete Domain" %}</br>
  21. {{domain}}
  22. </a>
  23. </li>
  24. {% endif %}
  25. </ul>
  26. {% endblock %}
  27.  
  28. {% block smallBoxLeft %}
  29. {% for domain in domains %}
  30. <div class="mm_box mm_smallBox {% cycle 'mm_clear' '' %}">
  31. <div class="mm_boxHeader">{{ domain.contact_address }} (<a href="http://{{ domain.base_url }}">{{ domain.base_url }}</a>)</div>
  32. {% if domain.description %}
  33. {{ domain.description }}
  34. {% endif %}
  35. </div>
  36. {% endfor %}
  37. {% endblock %}