aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman')
-rw-r--r--Mailman/Cgi/options.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Mailman/Cgi/options.py b/Mailman/Cgi/options.py
index 6316af6e..9a2389a9 100644
--- a/Mailman/Cgi/options.py
+++ b/Mailman/Cgi/options.py
@@ -298,8 +298,14 @@ def main():
# the user is a member. If so, add it to the list.
onlists = []
for gmlist in lists_of_member(mlist, user) + [mlist]:
+ extra = ''
url = gmlist.GetOptionsURL(user)
link = Link(url, gmlist.real_name)
+ if gmlist.getDeliveryStatus(user) <> MemberAdaptor.ENABLED:
+ extra += ', ' + _('nomail')
+ if user in gmlist.getDigestMemberKeys():
+ extra += ', ' + _('digest')
+ link = HTMLFormatObject(link, 0) + extra
onlists.append((gmlist.real_name, link))
onlists.sort()
items = OrderedList(*[link for name, link in onlists])