From ed1d43be012fa197493475912a0510836bffd281 Mon Sep 17 00:00:00 2001 From: pixeldesu Date: Sun, 30 Nov 2014 00:10:23 +0100 Subject: [PATCH] more changes --- app/assets/stylesheets/base.css.scss | 7 +++++++ app/views/user/show.html.haml | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/base.css.scss b/app/assets/stylesheets/base.css.scss index 762ac0f2..c9fe80eb 100644 --- a/app/assets/stylesheets/base.css.scss +++ b/app/assets/stylesheets/base.css.scss @@ -43,4 +43,11 @@ body { .user-username { margin-top: 0px; margin-bottom: 2px; +} + +.user-admin { + color: $brand-danger; + text-transform: uppercase; + font-weight: bold; + font-size: 80%; } \ No newline at end of file diff --git a/app/views/user/show.html.haml b/app/views/user/show.html.haml index cd77db84..aaf9223f 100644 --- a/app/views/user/show.html.haml +++ b/app/views/user/show.html.haml @@ -11,7 +11,7 @@ %h1.user-displayname= @user.display_name %h3.text-muted.user-username= @user.screen_name - if @user.admin? - %p.text-danger + %p.user-admin %i.fa.fa-flask Admin %h4.entry-text= @user.follower_count