Newer
Older
postorius / templates / mailman-django / lists / subscriptions.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. {% if form_subscribe %}
  9. <form action="{% url list_subscriptions fqdn_listname %}" method="post" class="subscribe" name="subscribe">
  10. {{ form_subscribe.as_div }}
  11. <!--<fieldset>
  12.  
  13. <legend>{% trans "Subscribe to " %} "{{ listinfo.real_name }}"</legend>
  14.  
  15. {{ subscribe.listname }}
  16. {{ subscribe.name }}
  17.  
  18. <div class="field {{ subscribe.email.html_name }}">
  19. {{ subscribe.email.label_tag }}
  20. {{ subscribe.email}}
  21. {{ subscribe.email.errors }}
  22. </div>
  23.  
  24. <div class="field {{ subscribe.real_name.html_name }}">
  25. {{ subscribe.real_name.label_tag }}
  26. {{ subscribe.real_name}}
  27. {{ subscribe.real_name.errors }}
  28. </div>
  29.  
  30. </fieldset>
  31. -->
  32. <div class="field">
  33. <button type="submit">{% trans "Subscribe" %}</button>
  34. </div>
  35.  
  36. </form>
  37. {% endif %}
  38. {% if form_unsubscribe %}
  39. <form action="" method="post" class="unsubscribe" name="unsubscribe">
  40. {{ form_unsubscribe.as_div }}
  41. <!--
  42. <fieldset>
  43.  
  44. <legend>{% trans "Unsubscribe from " %} "{{ listinfo.real_name }}"</legend>
  45.  
  46. {{ unsubscribe.listname }}
  47. {{ unsubscribe.name }}
  48. <div class="field {{ unsubscribe.email.html_name }}">
  49. {{ unsubscribe.email.label_tag }}
  50. {{ unsubscribe.email}}
  51. {{ unsubscribe.email.errors }}
  52. </div>
  53.  
  54. </fieldset>
  55. -->
  56. <div class="field">
  57. <button type="submit">{% trans "Unsubscribe" %}</button>
  58. </div>
  59.  
  60. </form>
  61. {% endif %}
  62.  
  63.  
  64.  
  65. {% endblock %}