the display name is now shown on the profile if it's set
This commit is contained in:
parent
1b48fb0343
commit
8ae0fc6c22
|
@ -5,8 +5,11 @@
|
||||||
.row
|
.row
|
||||||
.col-md-12.col-xs-12.col-sm-9
|
.col-md-12.col-xs-12.col-sm-9
|
||||||
%img.img-rounded.img-profile
|
%img.img-rounded.img-profile
|
||||||
%h1
|
- if @user.display_name.blank?
|
||||||
= @user.screen_name
|
%h1= @user.screen_name
|
||||||
|
- else
|
||||||
|
%h1= @user.display_name
|
||||||
|
%h3.text-muted= @user.screen_name
|
||||||
%ul.list-group
|
%ul.list-group
|
||||||
%li.list-group-item
|
%li.list-group-item
|
||||||
Followers
|
Followers
|
||||||
|
|
Loading…
Reference in New Issue