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
|
||||||
|
@ -43,4 +47,4 @@
|
||||||
%i.fa.fa-location-arrow
|
%i.fa.fa-location-arrow
|
||||||
= @user.location
|
= @user.location
|
||||||
= render 'user/actions', user: @user, type: :follower
|
= render 'user/actions', user: @user, type: :follower
|
||||||
= render 'user/stats', user: @user
|
= render 'user/stats', user: @user
|
||||||
|
|
Loading…
Reference in New Issue