aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2016-04-22 10:13:16 -0700
committerMark Sapiro <mark@msapiro.net>2016-04-22 10:13:16 -0700
commit1adb205d2cf4e6c53ade88ff4dc9c3e42ee08d35 (patch)
tree80798ec58d673aafdff06e13acb39180058f9a99 /Mailman
parent7ed5fe5c0668f2014a7f7a08376b4e6a2e3e921c (diff)
downloadmailman2-1adb205d2cf4e6c53ade88ff4dc9c3e42ee08d35.tar.gz
mailman2-1adb205d2cf4e6c53ade88ff4dc9c3e42ee08d35.tar.xz
mailman2-1adb205d2cf4e6c53ade88ff4dc9c3e42ee08d35.zip
White space left of Logout link is no longer part of the link.
Diffstat (limited to '')
-rw-r--r--Mailman/Cgi/admindb.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/Mailman/Cgi/admindb.py b/Mailman/Cgi/admindb.py
index af3f46d1..2cc348e6 100644
--- a/Mailman/Cgi/admindb.py
+++ b/Mailman/Cgi/admindb.py
@@ -1,4 +1,4 @@
-# Copyright (C) 1998-2014 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2016 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -213,9 +213,10 @@ def main():
doc.AddItem(Link(admindburl,
_('Click here to reload this page.')))
# Put 'Logout' link before the footer
+ doc.AddItem('\n<div align="right"><font size="+2">')
doc.AddItem(Link('%s/logout' % admindburl,
- '<div align="right"><font size="+2"><b>%s</b></font></div>' %
- _('Logout')))
+ '<b>%s</b>' % _('Logout')))
+ doc.AddItem('</font></div>\n')
doc.AddItem(mlist.GetMailmanFooter())
print doc.Format()
mlist.Save()