.panel.panel-default %img.profile--avatar{src: @user.profile_picture.url(:large)} .panel-body - if @user.display_name.blank? .profile--displayname = @user.screen_name - if @user.admin? %span.label.label-danger %i.fa.fa-flask Admin - if @user.moderator? %span.label.label-success %i.fa.fa-users Mod - if @user.supporter? %span.label.label-warning %i.fa.fa-star Supporter - if @user.following? current_user %span.label.label-default FOLLOWS YOU - else .profile--displayname = @user.display_name - if @user.admin? %span.label.label-danger %i.fa.fa-flask Admin - if @user.moderator? %span.label.label-success %i.fa.fa-users Mod - if @user.supporter? %span.label.label-warning %i.fa.fa-star Supporter - if @user.following? current_user %span.label.label-default FOLLOWS YOU .profile--username = @user.screen_name - unless @user.bio.blank? %p.profile--text= @user.bio - unless @user.website.blank? %p.profile--text %i.fa.fa-globe %a{href: @user.website}= @user.display_website - unless @user.location.blank? %p.profile--text %i.fa.fa-location-arrow = @user.location = render 'user/actions', user: @user, type: :follower = render 'user/stats', user: @user