added supporter display

This commit is contained in:
Andreas N 2015-01-03 00:24:06 +01:00
parent 5af3f1a109
commit aa6c892eb3
2 changed files with 11 additions and 0 deletions

View File

@ -23,6 +23,13 @@
} }
.profile--moderator { .profile--moderator {
color: $brand-success;
text-transform: uppercase;
font-weight: bold;
font-size: 80%;
}
.profile--supporter {
color: $brand-warning; color: $brand-warning;
text-transform: uppercase; text-transform: uppercase;
font-weight: bold; font-weight: bold;

View File

@ -17,6 +17,10 @@
%p.profile--moderator %p.profile--moderator
%i.fa.fa-users %i.fa.fa-users
Mod Mod
- if @user.supporter?
%p.profile-supporter
%i.fa.fa-star
Supporter
- if @user.following? current_user - if @user.following? current_user
%p %p
%span.label.label-default %span.label.label-default