cool profile changes
This commit is contained in:
parent
a82ecad4ed
commit
ed307504b0
|
@ -2,18 +2,19 @@
|
||||||
.col-md-3.col-xs-12.col-sm-3
|
.col-md-3.col-xs-12.col-sm-3
|
||||||
.panel.panel-default
|
.panel.panel-default
|
||||||
.panel-body
|
.panel-body
|
||||||
.row
|
.media
|
||||||
.col-md-12.col-xs-12.col-sm-9
|
.pull-left
|
||||||
%img.img-rounded.img-profile{src: gravatar_url(@user)}
|
%img.img-rounded.img-profile{src: gravatar_url(@user)}
|
||||||
- if @user.display_name.blank?
|
.media-body
|
||||||
%h1= @user.screen_name
|
- if @user.display_name.blank?
|
||||||
- else
|
%h2= @user.screen_name
|
||||||
%h1.user-displayname= @user.display_name
|
- else
|
||||||
%h3.text-muted.user-username= @user.screen_name
|
%h2.user-displayname= @user.display_name
|
||||||
- if @user.admin?
|
%h4.text-muted.user-username= @user.screen_name
|
||||||
%p.user-admin
|
- if @user.admin?
|
||||||
%i.fa.fa-flask
|
%p.user-admin
|
||||||
Admin
|
%i.fa.fa-flask
|
||||||
|
Admin
|
||||||
.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
|
||||||
|
|
Loading…
Reference in New Issue