mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-31 17:49:08 +01: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
|
||||
%img.userbox__avatar{ src: current_user.profile_picture.url(:small) }
|
||||
.profile__name
|
||||
- unless current_user.display_name.blank?
|
||||
- unless current_user.profile.display_name.blank?
|
||||
.profile__display-name
|
||||
= current_user.display_name
|
||||
= current_user.profile.display_name
|
||||
.profile__screen-name
|
||||
= current_user.screen_name
|
||||
- unless @list.nil?
|
||||
|
|
Loading…
Reference in a new issue