diff options
| author | klm | 1998-12-17 01:48:02 +0000 |
|---|---|---|
| committer | klm | 1998-12-17 01:48:02 +0000 |
| commit | 494c5cf6edf902eb316ef5db8fcfd01a2ce9f34c (patch) | |
| tree | 8d344753467a0115ff179f08102b53e88c33d1fd | |
| parent | 364f89e4f6298b70ca432e5f003dff767ca921ee (diff) | |
| download | mailman-494c5cf6edf902eb316ef5db8fcfd01a2ce9f34c.tar.gz mailman-494c5cf6edf902eb316ef5db8fcfd01a2ce9f34c.tar.zst mailman-494c5cf6edf902eb316ef5db8fcfd01a2ce9f34c.zip | |
| -rw-r--r-- | Mailman/Cgi/handle_opts.py | 9 |
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") |
