changeset 2242:84056f004725

fix user browser (column count mismatch)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Thu, 21 Jun 2007 23:40:21 +0200
parents 69491886ee47
children eca5a27e3eef d31998cd251c fe37834deb3d
files MoinMoin/userform.py
diffstat 1 files changed, 9 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/userform.py	Thu Jun 21 09:59:30 2007 +0200
+++ b/MoinMoin/userform.py	Thu Jun 21 23:40:21 2007 +0200
@@ -796,25 +796,30 @@
 
         data.addRow((
             #request.formatter.code(1) + uid + request.formatter.code(0),
+            # 0
             request.formatter.rawHTML(namelink),
+            # 1
             (request.formatter.url(1, 'mailto:' + account.email, css='mailto', do_escape=0) +
              request.formatter.text(account.email) +
              request.formatter.url(0)),
+            # 2
             (request.formatter.url(1, 'xmpp:' + account.jid, css='mailto', do_escape=0) +
              request.formatter.text(account.jid) +
              request.formatter.url(0)),
-            request.page.link_to(request, text=_('Mail me my account data'),
+            # 3
+            (request.page.link_to(request, text=_('Mail me my account data'),
                                  querystr={"action":"userform",
                                            "email": account.email,
                                            "account_sendmail": "1",
                                            "sysadm": "users", },
-                                 rel='nofollow'),
-            request.page.link_to(request, text=_('Send me my accound data with Jabber'),
+                                 rel='nofollow')
+            + " " +
+            request.page.link_to(request, text=_('Send me my account data with Jabber'),
                                  querystr={"action":"userform",
                                            "jid": account.jid,
                                            "account_sendjabber": "1",
                                            "sysadm": "users", },
-                                  rel='nofollow'),
+                                  rel='nofollow'))
         ))
 
     if data: