added contributor badge to user profile view

This commit is contained in:
Georg G 2015-04-19 22:25:21 +02:00
parent ced880fe34
commit c9b7e71290
1 changed files with 5 additions and 1 deletions

View File

@ -12,6 +12,10 @@
.profile--panel-badge.panel-badge-warning
%i.fa.fa-star
Supporter
- if @user.contributor?
.profile--panel-badge.panel-badge-primary
%i.fa.fa-github
Contributor
- if @user.blogger?
.profile--panel-badge.panel-badge-info
%i.fa.fa-pencil