X-Git-Url: http://git.veekun.com/zzz-spline-users.git/blobdiff_plain/d35134c7784acce4172ed7bc8800e2fe866d084c..a35a43eeaf6e7fe1247657ffffda8bb1735def12:/spline/plugins/users/templates/widgets/user_state.mako diff --git a/spline/plugins/users/templates/widgets/user_state.mako b/spline/plugins/users/templates/widgets/user_state.mako index 47c36f1..adf816b 100644 --- a/spline/plugins/users/templates/widgets/user_state.mako +++ b/spline/plugins/users/templates/widgets/user_state.mako @@ -1,13 +1,9 @@ <%namespace name="userlib" file="/users/lib.mako" /> % if c.user: ${h.form(url(controller='accounts', action='logout'), id='user')} - Logged in as ${c.user.name} ${userlib.color_bar(c.user)}. + Logged in as ${userlib.color_bar(c.user)} ${c.user.name}. ${h.end_form()} % else: -${h.form(url(controller='accounts', action='login_begin'), id='user')} - - - -${h.end_form()} +
% endif