diff --git a/app/assets/javascripts/admin/templates/user-index.hbs b/app/assets/javascripts/admin/templates/user-index.hbs index baa593a9c0b..53dc3a8d999 100644 --- a/app/assets/javascripts/admin/templates/user-index.hbs +++ b/app/assets/javascripts/admin/templates/user-index.hbs @@ -221,7 +221,13 @@
{{i18n 'admin.user.admin'}}
-
{{model.admin}}
+
+ {{#if model.admin}} + {{i18n 'yes_value'}} + {{else}} + {{i18n 'no_value'}} + {{/if}} +
{{#if model.can_revoke_admin}} {{d-button action="revokeAdmin" icon="shield" label="admin.user.revoke_admin"}} @@ -234,7 +240,13 @@
{{i18n 'admin.user.moderator'}}
-
{{model.moderator}}
+
+ {{#if model.moderator}} + {{i18n 'yes_value'}} + {{else}} + {{i18n 'no_value'}} + {{/if}} +
{{#if model.can_revoke_moderation}} {{d-button action="revokeModeration" icon="shield" label="admin.user.revoke_moderation"}} @@ -272,7 +284,13 @@
{{i18n 'admin.user.suspended'}}
-
{{model.isSuspended}}
+
+ {{#if model.isSuspended}} + {{i18n 'yes_value'}} + {{else}} + {{i18n 'no_value'}} + {{/if}} +
{{#if model.isSuspended}} {{d-button class="btn-danger" action="unsuspend" icon="ban" label="admin.user.unsuspend"}} @@ -303,7 +321,13 @@
{{i18n 'admin.user.blocked'}}
-
{{model.blocked}}
+
+ {{#if model.blocked}} + {{i18n 'yes_value'}} + {{else}} + {{i18n 'no_value'}} + {{/if}} +
{{#conditional-loading-spinner size="small" condition=model.blockingUser}} {{#if model.blocked}} @@ -319,7 +343,13 @@
{{i18n 'admin.user.staged'}}
-
{{model.staged}}
+
+ {{#if model.staged}} + {{i18n 'yes_value'}} + {{else}} + {{i18n 'no_value'}} + {{/if}} +
{{i18n 'admin.user.staged_explanation'}}