mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 16:29:52 +01:00
the display name is now shown on the profile if it's set
This commit is contained in:
parent
1b48fb0343
commit
8ae0fc6c22
1 changed files with 5 additions and 2 deletions
|
@ -5,8 +5,11 @@
|
|||
.row
|
||||
.col-md-12.col-xs-12.col-sm-9
|
||||
%img.img-rounded.img-profile
|
||||
%h1
|
||||
= @user.screen_name
|
||||
- if @user.display_name.blank?
|
||||
%h1= @user.screen_name
|
||||
- else
|
||||
%h1= @user.display_name
|
||||
%h3.text-muted= @user.screen_name
|
||||
%ul.list-group
|
||||
%li.list-group-item
|
||||
Followers
|
||||
|
|
Loading…
Reference in a new issue