Update usage of `display_name` in shared sidebar
This commit is contained in:
parent
21f01fed02
commit
df606a768e
|
@ -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 New Issue