[Mpuls-commits] r2360 - wasko/branches/2.0/mpulsweb/templates

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Apr 15 10:04:55 CEST 2010


Author: roland
Date: 2010-04-15 10:04:55 +0200 (Thu, 15 Apr 2010)
New Revision: 2360

Modified:
   wasko/branches/2.0/mpulsweb/templates/main.mako
Log:
Fixed issue #1352: display correct Super-Admin role

Modified: wasko/branches/2.0/mpulsweb/templates/main.mako
===================================================================
--- wasko/branches/2.0/mpulsweb/templates/main.mako	2010-04-15 08:02:32 UTC (rev 2359)
+++ wasko/branches/2.0/mpulsweb/templates/main.mako	2010-04-15 08:04:55 UTC (rev 2360)
@@ -3,13 +3,14 @@
 <%def name="buildStatusBar()">
   <div id="statusbar">
     ${_('statusbar_logininfo')}:
-    % if h.getLogin() != 'adm':
         <a href="${h.url_for(controller='/usersettings', action='showSettings',
                              id=h.getUserId())}"
+           title="${_('sm_menu_link_settings')}"
            onclick="return checkModification();">
+    % if h.getLogin() != 'adm':
         <strong>${h.getUserFullname()}</strong></a> (${h.getRole()})
     % else:
-        <strong>${h.getUserLastname()}</strong>
+        <strong>${h.getUserLastname()}</strong></a>
     % endif
     <!--|
     <a href="${h.url_for(controller='/usersettings', action='showSettings',



More information about the Mpuls-commits mailing list