the display name is now shown on the profile if it's set

This commit is contained in:
nilsding 2014-11-13 12:52:08 +01:00
parent 1b48fb0343
commit 8ae0fc6c22

View file

@ -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