From aa6c892eb352aeb65c63b624d720fd79d1cd542f Mon Sep 17 00:00:00 2001 From: Andreas N Date: Sat, 3 Jan 2015 00:24:06 +0100 Subject: [PATCH] added supporter display --- app/assets/stylesheets/scss/user.scss | 7 +++++++ app/views/user/_profile_info.html.haml | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/app/assets/stylesheets/scss/user.scss b/app/assets/stylesheets/scss/user.scss index 362fc947..c5205ad4 100644 --- a/app/assets/stylesheets/scss/user.scss +++ b/app/assets/stylesheets/scss/user.scss @@ -23,6 +23,13 @@ } .profile--moderator { + color: $brand-success; + text-transform: uppercase; + font-weight: bold; + font-size: 80%; +} + +.profile--supporter { color: $brand-warning; text-transform: uppercase; font-weight: bold; diff --git a/app/views/user/_profile_info.html.haml b/app/views/user/_profile_info.html.haml index 52512ad1..36bba82a 100644 --- a/app/views/user/_profile_info.html.haml +++ b/app/views/user/_profile_info.html.haml @@ -17,6 +17,10 @@ %p.profile--moderator %i.fa.fa-users Mod + - if @user.supporter? + %p.profile-supporter + %i.fa.fa-star + Supporter - if @user.following? current_user %p %span.label.label-default