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