summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorklm1998-12-17 01:48:02 +0000
committerklm1998-12-17 01:48:02 +0000
commit494c5cf6edf902eb316ef5db8fcfd01a2ce9f34c (patch)
tree8d344753467a0115ff179f08102b53e88c33d1fd
parent364f89e4f6298b70ca432e5f003dff767ca921ee (diff)
downloadmailman-494c5cf6edf902eb316ef5db8fcfd01a2ce9f34c.tar.gz
mailman-494c5cf6edf902eb316ef5db8fcfd01a2ce9f34c.tar.zst
mailman-494c5cf6edf902eb316ef5db8fcfd01a2ce9f34c.zip
-rw-r--r--Mailman/Cgi/handle_opts.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/Mailman/Cgi/handle_opts.py b/Mailman/Cgi/handle_opts.py
index 524bd720e..f7a99a4bc 100644
--- a/Mailman/Cgi/handle_opts.py
+++ b/Mailman/Cgi/handle_opts.py
@@ -154,15 +154,18 @@ exactly what happened to provoke this error.<p>'''
doc.AddItem(htmlformat.Header(2,
"List Subscriptions for %s on %s"
% (user, list.host_name)))
+ doc.AddItem("Click a link to visit your options page for"
+ " that mailing list.")
def optionslinks(l, user=user):
if l.IsMember(user):
link = htmlformat.Link(l.GetAbsoluteOptionsURL(user),
l.real_name)
- return link
+ return l._internal_name, link
all_links = filter(None, Utils.map_maillists(optionslinks))
+ all_links.sort()
items = htmlformat.OrderedList()
- for i in all_links:
- items.AddItem(i)
+ for name, link in all_links:
+ items.AddItem(link)
doc.AddItem(items)
print doc.Format(bgcolor="#ffffff")