forked from OpenNeo/impress
revise userbar markup
This commit is contained in:
parent
7939b0570b
commit
db99f70255
1 changed files with 3 additions and 5 deletions
|
@ -20,11 +20,9 @@
|
||||||
%span Dress to Impress
|
%span Dress to Impress
|
||||||
#userbar
|
#userbar
|
||||||
- if user_signed_in?
|
- if user_signed_in?
|
||||||
%div
|
== Hey, #{current_user.name}!
|
||||||
== Hey, #{current_user.name}!
|
== You have #{current_user.points} points.
|
||||||
== You have #{current_user.points} points.
|
= link_to 'Log out', logout_path
|
||||||
%div
|
|
||||||
= link_to 'Log out', logout_path
|
|
||||||
- else
|
- else
|
||||||
= link_to login_path, :id => 'userbar-log-in' do
|
= link_to login_path, :id => 'userbar-log-in' do
|
||||||
= image_tag auth_server_icon_url
|
= image_tag auth_server_icon_url
|
||||||
|
|
Loading…
Reference in a new issue