updated profile display

This commit is contained in:
pixeldesu 2014-12-01 21:11:32 +01:00
parent 8b682bd52f
commit 3c4a240b8a
1 changed files with 9 additions and 7 deletions

View File

@ -16,14 +16,16 @@
%i.fa.fa-flask %i.fa.fa-flask
Admin Admin
/ TODO: make this look prettier (pixeldesu!!!!) / TODO: make this look prettier (pixeldesu!!!!)
- unless @user.bio.blank?
%p= @user.bio
- unless @user.website.blank? - unless @user.website.blank?
%p
%i.fa.fa-globe %i.fa.fa-globe
%a{href: @user.website}= @user.display_website %a{href: @user.website}= @user.display_website
- unless @user.location.blank? - unless @user.location.blank?
%p
%i.fa.fa-location-arrow %i.fa.fa-location-arrow
= @user.location = @user.location
- unless @user.bio.blank?
= @user.bio
.row .row
.col-md-6.col-sm-6.col-xs-6 .col-md-6.col-sm-6.col-xs-6
%h4.entry-text#follower-count= @user.follower_count %h4.entry-text#follower-count= @user.follower_count