=== modified file 'Mailman/Cgi/options.py'
--- Mailman/Cgi/options.py 2011-05-10 01:34:07 +0000
+++ Mailman/Cgi/options.py 2011-06-06 22:46:16 +0000
@@ -293,13 +293,17 @@
doc.AddItem(Header(2, title))
doc.AddItem(_('''Click on a link to visit your options page for the
requested mailing list.'''))
+ doc.AddItem(_('
Italicized entries have delivery disabled.'))
# Troll through all the mailing lists that match host_name and see if
# the user is a member. If so, add it to the list.
onlists = []
for gmlist in lists_of_member(mlist, user) + [mlist]:
url = gmlist.GetOptionsURL(user)
- link = Link(url, gmlist.real_name)
+ if gmlist.getDeliveryStatus(user) <> MemberAdaptor.ENABLED:
+ link = Link(url, Italic(gmlist.real_name))
+ else:
+ link = Link(url, gmlist.real_name)
onlists.append((gmlist.real_name, link))
onlists.sort()
items = OrderedList(*[link for name, link in onlists])