Display moderator badge (green), admin badge changed to red (#5728)
This commit is contained in:
parent
ad207456d6
commit
2151fd3150
4 changed files with 23 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue