X-Git-Url: http://git.veekun.com/zzz-spline-users.git/blobdiff_plain/f825759a785c954986b6344cb643aa075c3849f3..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 dbc73a0..adf816b 100644 --- a/spline/plugins/users/templates/widgets/user_state.mako +++ b/spline/plugins/users/templates/widgets/user_state.mako @@ -1,12 +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}. + 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