Constrain userbars to be less ugly. Put them before names.
[zzz-spline-users.git] / spline / plugins / users / templates / users / profile.mako
index bf0a630..80d7827 100644 (file)
@@ -6,9 +6,9 @@
 <h1>${c.page_user.name}'s profile</h1>
 
 <p>
-    Profile for ${c.page_user.name} ${userlib.color_bar(c.page_user)}.
+    Profile for ${userlib.color_bar(c.page_user)} ${c.page_user.name}.
     % if c.page_user == c.user:
-    <a href="${url(controller='users', action='profile_edit', id=c.page_user.id, name=c.page_user.name.lower())}">
+    <a href="${url(controller='users', action='profile_edit', id=c.page_user.id, name=c.page_user.name)}">
         <img src="${h.static_uri('spline', 'icons/user--pencil.png')}" alt="">
         Edit
     </a>