diff options
| author | bwarsaw | 2000-09-15 20:46:47 +0000 |
|---|---|---|
| committer | bwarsaw | 2000-09-15 20:46:47 +0000 |
| commit | 9265600f5af93260c8cc31f05fbc49e4b18ee102 (patch) | |
| tree | a255b4ffab96a5e0589ce011f34c58bcbbaf9668 | |
| parent | 31cc5618d9d7d823b373fadede48cbdf737891fd (diff) | |
| download | mailman-9265600f5af93260c8cc31f05fbc49e4b18ee102.tar.gz mailman-9265600f5af93260c8cc31f05fbc49e4b18ee102.tar.zst mailman-9265600f5af93260c8cc31f05fbc49e4b18ee102.zip | |
PrintRequests(): Now that all footers contain links to the admin
pages, we can remove the extra links from the "no pending requests"
information.
| -rw-r--r-- | Mailman/Cgi/admindb.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/Mailman/Cgi/admindb.py b/Mailman/Cgi/admindb.py index f582f3917..99ef7740f 100644 --- a/Mailman/Cgi/admindb.py +++ b/Mailman/Cgi/admindb.py @@ -107,18 +107,12 @@ def PrintRequests(mlist, doc): mlist.real_name + '</em>')) # short circuit for when there are no pending requests if not mlist.NumRequestsPending(): - doc.AddItem('There are no pending requests. You can now ') - doc.AddItem( - Link(mlist.GetScriptURL('admin'), - Italic('view or edit the list configuration information.'))) + doc.AddItem('There are no pending requests.') doc.AddItem(mlist.GetMailmanFooter()) return doc.AddItem(Utils.maketext( 'admindbpreamble.html', {'listname': mlist.real_name}, raw=1)) - doc.AddItem( - Link(mlist.GetScriptURL('admin'), - Italic('view or edit the list configuration information'))) doc.AddItem('.<p>') form = Form(mlist.GetScriptURL('admindb')) doc.AddItem(form) |
