Manish Gill has proposed merging lp:~mgill25/postorius/postorius into
lp:postorius.
Requested reviews:
Mailman Coders (mailman-coders)
For more details, see:
https://code.launchpad.net/~mgill25/postorius/postorius/+merge/157515
Patch for Bug #1004052. :)
Please let me know if there's anything missing!
--
https://code.launchpad.net/~mgill25/postorius/postorius/+merge/157515
Your team Mailman Coders is requested to review the proposed merge of
lp:~mgill25/postorius/postorius into lp:postorius.
=== modified file 'src/postorius/templates/postorius/lists/settings.html'
--- src/postorius/templates/postorius/lists/settings.html 2013-03-21 20:19:01 +0000
+++ src/postorius/templates/postorius/lists/settings.html 2013-04-06 13:55:23 +0000
@@ -4,8 +4,8 @@
{% load nav_helpers %}
{% block main %}
+ {% if message %}<p class="alert">{{ message }}</p>{% endif %}
{% list_nav 'list_settings' 'Settings' %}
-
<ul class="nav nav-tabs">
{% for section in form_sections %}
<li {% if section.0 == visible_section %}class="active"{% endif %}><a href="{% url 'list_settings' fqdn_listname=list.fqdn_listname visible_section=section.0 visible_option=None %}">{{section.0}}</a></li>
=== modified file 'src/postorius/views/list.py'
--- src/postorius/views/list.py 2013-03-22 18:25:07 +0000
+++ src/postorius/views/list.py 2013-04-06 13:55:23 +0000
@@ -47,7 +47,7 @@
m_list.member_page_next_nr = page + 1
m_list.member_page_show_next = len(m_list.member_page) >= 25
return m_list
-
+
@method_decorator(list_owner_required)
def post(self, request, fqdn_listname, page=1):
if 'owner_email' in request.POST:
@@ -515,9 +515,9 @@
for key in form.fields.keys():
list_settings[key] = form.cleaned_data[key]
list_settings.save()
- message = _("The list has been updated.")
+ message = _("The list settings have been updated.")
else:
- message = _("Validation Error - The list has not been updated.")
+ message = _("Validation Error - The list settings have not been updated.")
else:
#Provide a form with existing values
#create form and process layout into form.layout
_______________________________________________
Mailman-coders mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-coders