[Merge] lp:~stephen-xemacs/postorius/REAL-domain-not-list into lp:postorius

Stephen Turnbull stephen at xemacs.org
Thu Mar 21 01:50:33 CET 2013


Stephen Turnbull has proposed merging lp:~stephen-xemacs/postorius/REAL-domain-not-list into lp:postorius.

Requested reviews:
  Mailman Coders (mailman-coders)

For more details, see:
https://code.launchpad.net/~stephen-xemacs/postorius/REAL-domain-not-list/+merge/154564

When the superuser first visits the root of the postorius URL space, she is invited to create a list, but won't be able to if there are no domains.

This branch
1. Adds code to the lists/index.html template to check if any domains have been created yet, and offer to create a domain instead of a list.
2. Refactors the code to create the domain list used in the domain menu out to a new function _get_choosable_domains(), and uses it in views/list.py.
3. Adds the length of the domain list to the list_index view, so the index.html template can check it.

-- 
https://code.launchpad.net/~stephen-xemacs/postorius/REAL-domain-not-list/+merge/154564
Your team Mailman Coders is requested to review the proposed merge of lp:~stephen-xemacs/postorius/REAL-domain-not-list into lp:postorius.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: review-diff.txt
Type: text/x-diff
Size: 3314 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/mailman-coders/attachments/20130321/902e7ada/attachment.diff>


More information about the Mailman-coders mailing list