Display moderator badge (green), admin badge changed to red (#5728)
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user