From ed307504b0c817a7f66ca4019bebea975c355e16 Mon Sep 17 00:00:00 2001 From: pixeldesu Date: Sun, 30 Nov 2014 23:08:11 +0100 Subject: [PATCH] cool profile changes --- app/views/user/show.html.haml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/app/views/user/show.html.haml b/app/views/user/show.html.haml index 0fbf29b3..60061b95 100644 --- a/app/views/user/show.html.haml +++ b/app/views/user/show.html.haml @@ -2,18 +2,19 @@ .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)} - - if @user.display_name.blank? - %h1= @user.screen_name - - else - %h1.user-displayname= @user.display_name - %h3.text-muted.user-username= @user.screen_name - - if @user.admin? - %p.user-admin - %i.fa.fa-flask - Admin + .media-body + - if @user.display_name.blank? + %h2= @user.screen_name + - else + %h2.user-displayname= @user.display_name + %h4.text-muted.user-username= @user.screen_name + - if @user.admin? + %p.user-admin + %i.fa.fa-flask + Admin .row .col-md-6.col-sm-6.col-xs-6 %h4.entry-text#follower-count= @user.follower_count