Skip to content
Browse files

add display name

  • Loading branch information...
1 parent 1ba1722 commit 061ce75f8aa2f2998a7e0ba569d1fc6f329ea2a1 @ghostandthemachine ghostandthemachine committed Dec 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/views/navbar.haml
View
2 lib/views/navbar.haml
@@ -13,7 +13,7 @@
%img.profile_pic.pull-left{:src => gravatar_for(current_user,30)}
%li.dropdown
%a{"data-toggle" => "dropdown", :href => "#"}
- Me
+ %span= current_user.display_name.size > 0 ? current_user.display_name : "Me"
%i.icon-chevron-down
%ul.dropdown-menu
%li

0 comments on commit 061ce75

Please sign in to comment.
Something went wrong with that request. Please try again.