diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-11-17 01:22:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-17 01:22:38 +0100 |
commit | 2151fd315023a7f6849c6c9a519cd01deac09aa1 (patch) | |
tree | a0e11c33effa1af26c94565ecc938c3e4577b94a /app/views | |
parent | ad207456d64c76d21c17b26a954b459fe2dc0f54 (diff) |
Display moderator badge (green), admin badge changed to red (#5728)
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/accounts/_header.html.haml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/views/accounts/_header.html.haml b/app/views/accounts/_header.html.haml index 5530fcc20..e4c258acd 100644 --- a/app/views/accounts/_header.html.haml +++ b/app/views/accounts/_header.html.haml @@ -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) |