added supporter display
This commit is contained in:
parent
5af3f1a109
commit
aa6c892eb3
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue