Display moderator badge (green), admin badge changed to red (#5728)

This commit is contained in:
Eugen Rochko 2017-11-17 01:22:38 +01:00 committed by GitHub
parent ad207456d6
commit 2151fd3150
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 23 additions and 4 deletions

View file

@ -29,8 +29,12 @@
- if account.user_admin?
.roles
.account-role
.account-role.admin
= t 'accounts.roles.admin'
- elsif account.user_moderator?
.roles
.account-role.moderator
= t 'accounts.roles.moderator'
.bio
.account__header__content.p-note.emojify= Formatter.instance.simplified_format(account)