mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-31 04:02:12 +02:00
Update usage of display_name
in shared sidebar
This commit is contained in:
parent
21f01fed02
commit
df606a768e
1 changed files with 2 additions and 2 deletions
|
@ -3,9 +3,9 @@
|
||||||
.card-body
|
.card-body
|
||||||
%img.userbox__avatar{ src: current_user.profile_picture.url(:small) }
|
%img.userbox__avatar{ src: current_user.profile_picture.url(:small) }
|
||||||
.profile__name
|
.profile__name
|
||||||
- unless current_user.display_name.blank?
|
- unless current_user.profile.display_name.blank?
|
||||||
.profile__display-name
|
.profile__display-name
|
||||||
= current_user.display_name
|
= current_user.profile.display_name
|
||||||
.profile__screen-name
|
.profile__screen-name
|
||||||
= current_user.screen_name
|
= current_user.screen_name
|
||||||
- unless @list.nil?
|
- unless @list.nil?
|
||||||
|
|
Loading…
Reference in a new issue