Newer
Older
postorius / templates / mailman-django / lists / info.html
  1. {% extends "mailman-django/base.html" %}
  2. {% load i18n %}
  3.  
  4. {% block content %}
  5.  
  6. <h1>{{ fqdn_listname }} -- {{ listinfo.real_name }}</h1>
  7.  
  8. <h2>{% trans 'List information' %}</h2>
  9.  
  10. <p>{% trans 'A bit of information to make people want to subscribe...' %}</p>
  11.  
  12. <form action="{% url list_info fqdn_listname %}" method="post" class="subscribe" name="subscribe">
  13.  
  14. <fieldset>
  15.  
  16. <legend>{% trans "Subscribe to " %} {{ listinfo.real_name }}</legend>
  17.  
  18. {{ subscribe.listname }}
  19. {{ subscribe.name }}
  20.  
  21. <div class="field {{ subscribe.email.html_name }}">
  22. {{ subscribe.email.label_tag }}
  23. {{ subscribe.email}}
  24. {{ subscribe.email.errors }}
  25. </div>
  26.  
  27. <div class="field {{ subscribe.real_name.html_name }}">
  28. {{ subscribe.real_name.label_tag }}
  29. {{ subscribe.real_name}}
  30. {{ subscribe.real_name.errors }}
  31. </div>
  32.  
  33. </fieldset>
  34.  
  35. <div class="field">
  36. <button type="submit">{% trans "Subscribe" %}</button>
  37. </div>
  38.  
  39. </form>
  40.  
  41.  
  42. <form action="" method="post" class="unsubscribe" name="unsubscribe">
  43.  
  44. <fieldset>
  45.  
  46. <legend>{% trans "Unsubscribe from " %} {{ listinfo.real_name }}</legend>
  47.  
  48. {{ unsubscribe.listname }}
  49. {{ unsubscribe.name }}
  50. <div class="field {{ unsubscribe.email.html_name }}">
  51. {{ unsubscribe.email.label_tag }}
  52. {{ unsubscribe.email}}
  53. {{ unsubscribe.email.errors }}
  54. </div>
  55.  
  56. </fieldset>
  57.  
  58. <div class="field">
  59. <button type="submit">{% trans "Unsubscribe" %}</button>
  60. </div>
  61.  
  62. </form>
  63.  
  64.  
  65.  
  66.  
  67. {% endblock %}