mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-16 10:19:59 +01:00
copycat failures
This commit is contained in:
parent
0dfbac0bda
commit
55a4278c34
1 changed files with 4 additions and 4 deletions
|
@ -9,14 +9,14 @@
|
||||||
.pull-left
|
.pull-left
|
||||||
%img.img-rounded.profile--dropdown-img{src: current_user.profile_picture.url(:medium)}
|
%img.img-rounded.profile--dropdown-img{src: current_user.profile_picture.url(:medium)}
|
||||||
.media-body
|
.media-body
|
||||||
- if @user.display_name.blank?
|
- if current_user.display_name.blank?
|
||||||
.profile--displayname
|
.profile--displayname
|
||||||
= @user.screen_name
|
= current_user.screen_name
|
||||||
- else
|
- else
|
||||||
.profile--displayname
|
.profile--displayname
|
||||||
= @user.display_name
|
= current_user.display_name
|
||||||
.profile--username
|
.profile--username
|
||||||
= @user.screen_name
|
= current_user.screen_name
|
||||||
%li= link_to "View profile", show_user_profile_path(current_user.screen_name)
|
%li= link_to "View profile", show_user_profile_path(current_user.screen_name)
|
||||||
%li= link_to "Settings", edit_user_registration_path
|
%li= link_to "Settings", edit_user_registration_path
|
||||||
%li.divider
|
%li.divider
|
||||||
|
|
Loading…
Reference in a new issue