Newer
Older
postorius / templates / mailman-django / domain_index.html
  1. {% extends "mailman-django/base.html" %}
  2. {% load i18n %}
  3.  
  4. {% block heading %}
  5. {% trans "Add a new Domain" %}
  6. {% endblock %}
  7.  
  8. {% block smallBoxLeft %}
  9. {% for domain in domains %}
  10. <div class="mm_box mm_smallBox mm_smallBoxLeft">
  11. <div class="mm_boxHeader">{{ domain.contact_address }}</div>
  12. <ul>
  13. <li><a href="http://{{ domain.base_url }}">{{ domain.base_url }}</a></li>
  14. {% if domain.description %}
  15. <li>{{ domain.description }}</li>
  16. {% endif %}
  17. </ul>
  18. </div>
  19. {% endfor %}
  20. {% endblock %}
  21.  
  22. {% block header %}
  23. <div class="mm_box">
  24. <div class="mm_boxHeader">{% trans "About" %}</div>
  25. This site allows to register a new Domain, due to restriction in the REST API we can't delete them here yet. Please modify the Mailman DB directly if you need to remove a Domain. If interested take a look at the <a href="https://bugs.launchpad.net/mailmanwebgsoc2011/+bug/799689"> Launchapd Bug Report</a>
  26. </p>
  27. </div>
  28. {% endblock %}
  29. {% block actionButtonsList %}
  30. <ul class="mm_actionButtons">
  31. <li class="mm_new_domain"><a href="{% url domain_new %}">{% trans "New Domain" %}</a></li>
  32. {% if not domain == "unregistered Domain" %}
  33. <li class="mm_delete_domain">
  34. <a href="#JS delete_domain">{% trans "Delete Domain" %}</br>
  35. {{domain}}
  36. </a>
  37. </li>
  38. {% endif %}
  39. </ul>
  40.  
  41. {% endblock %}