Newer
Older
postorius / src / mailman_django / templates / mailman-django / user_settings.html
  1. {% extends extend_template %}
  2. {% load i18n %}
  3.  
  4.  
  5. {% block heading %}
  6. {% ifequal tab "membership"%}
  7. {% trans "Membership Settings" %}
  8. {% if list %}<span>{% trans "for"%}{% endif %} {{ list.fqdn_listname }}</span>
  9. {% else %}
  10. {% trans "User Settings" %}
  11. {% endifequal %}
  12. {% endblock %}
  13.  
  14. {% block header %}
  15. <div class="mm_box mm_clear">
  16. <div class="mm_boxHeader">
  17. {% trans "Content" %}
  18. </div>
  19. <p>{%trans "Use this page to manage your account. You'll be able to see a list of your subscirbed lists, modify these membership settings of the list and your personal preferences in user_settings <a href='https://bugs.launchpad.net/mailman/+bug/821438' >LP:821438</a> is solved <br>" %}</p>
  20. {% if form %}
  21. <form action="" method="post" class="user" name="user">
  22. <ul class="">
  23. {{ form.as_div }}
  24. <li class="field">
  25. <button type="submit">{% trans "Save changes" %}</button>
  26. </li>
  27. </ul>
  28. </form>
  29. {% endif %}
  30. </div>
  31. {% endblock %}
  32.  
  33. {% block actionButtonsList %}
  34. <ul class="mm_actionButtons">
  35. <li class="mm_user_settings"><a href="{% url user_settings %}">{% trans "My Account" %}</a></li>
  36. <li class="mm_user_subscriptions"><a href="{% url membership_settings %}">{% trans "All my Subscriptions" %}</a></li>
  37. </ul>
  38. {% endblock %}
  39.  
  40. {% block smallBoxLeft %}
  41. {% if membership_lists %}
  42. {% for list in membership_lists %}
  43. <div class="mm_box mm_smallBox {% cycle 'mm_clear' '' %}">
  44. <div class="mm_boxHeader">
  45. <a href="{% url list_summary fqdn_listname=list.fqdn_listname%}">
  46. {{ list.real_name }} {% if not list.settings.advertised %}(non-public){% endif %}
  47. </a>
  48. </div>
  49. <ul>
  50. <li><a href="{% url membership_settings fqdn_listname=list.fqdn_listname%}"> My Membership</li>
  51. <li><a href="{% url membership_settings fqdn_listname=list.fqdn_listname %}">
  52. My Subscription</a></li>
  53. </ul>
  54. </div>
  55. {% endfor %}
  56. {% endif %}
  57. {% endblock %}