added contributor badge to user profile view
This commit is contained in:
parent
ced880fe34
commit
c9b7e71290
|
@ -12,6 +12,10 @@
|
||||||
.profile--panel-badge.panel-badge-warning
|
.profile--panel-badge.panel-badge-warning
|
||||||
%i.fa.fa-star
|
%i.fa.fa-star
|
||||||
Supporter
|
Supporter
|
||||||
|
- if @user.contributor?
|
||||||
|
.profile--panel-badge.panel-badge-primary
|
||||||
|
%i.fa.fa-github
|
||||||
|
Contributor
|
||||||
- if @user.blogger?
|
- if @user.blogger?
|
||||||
.profile--panel-badge.panel-badge-info
|
.profile--panel-badge.panel-badge-info
|
||||||
%i.fa.fa-pencil
|
%i.fa.fa-pencil
|
||||||
|
|
Loading…
Reference in New Issue