From db99f70255360b6798ae52d853395712b19aca15 Mon Sep 17 00:00:00 2001 From: Matchu Date: Mon, 18 Oct 2010 18:13:03 -0400 Subject: [PATCH] revise userbar markup --- app/views/layouts/items.html.haml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/app/views/layouts/items.html.haml b/app/views/layouts/items.html.haml index f637f50c..816c66c0 100644 --- a/app/views/layouts/items.html.haml +++ b/app/views/layouts/items.html.haml @@ -20,11 +20,9 @@ %span Dress to Impress #userbar - if user_signed_in? - %div - == Hey, #{current_user.name}! - == You have #{current_user.points} points. - %div - = link_to 'Log out', logout_path + == Hey, #{current_user.name}! + == You have #{current_user.points} points. + = link_to 'Log out', logout_path - else = link_to login_path, :id => 'userbar-log-in' do = image_tag auth_server_icon_url