cool profile changes

This commit is contained in:
pixeldesu 2014-11-30 23:08:11 +01:00
parent a82ecad4ed
commit ed307504b0
1 changed files with 12 additions and 11 deletions

View File

@ -2,14 +2,15 @@
.col-md-3.col-xs-12.col-sm-3
.panel.panel-default
.panel-body
.row
.col-md-12.col-xs-12.col-sm-9
.media
.pull-left
%img.img-rounded.img-profile{src: gravatar_url(@user)}
.media-body
- if @user.display_name.blank?
%h1= @user.screen_name
%h2= @user.screen_name
- else
%h1.user-displayname= @user.display_name
%h3.text-muted.user-username= @user.screen_name
%h2.user-displayname= @user.display_name
%h4.text-muted.user-username= @user.screen_name
- if @user.admin?
%p.user-admin
%i.fa.fa-flask