.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.j2-up %i.fa.fa-flask Admin - if @user.moderator? %span.label.label-success.j2-up %i.fa.fa-users Mod - if @user.supporter? %span.label.label-warning.j2-up %i.fa.fa-star Supporter - else .profile--displayname = @user.display_name - if @user.admin? %span.label.label-danger.j2-up %i.fa.fa-flask Admin - if @user.moderator? %span.label.label-success.j2-up %i.fa.fa-users Mod - if @user.supporter? %span.label.label-warning.j2-up %i.fa.fa-star Supporter .profile--username = @user.screen_name - if @user.following? current_user %p %span.label.label-default.j2-up Follows you - 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