1
0
Fork 0
forked from OpenNeo/impress

revise userbar markup

This commit is contained in:
Emi Matchu 2010-10-18 18:13:03 -04:00
parent 7939b0570b
commit db99f70255

View file

@ -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