diff --git a/app/assets/javascripts/admin/templates/user_index.hbs b/app/assets/javascripts/admin/templates/user-index.hbs similarity index 98% rename from app/assets/javascripts/admin/templates/user_index.hbs rename to app/assets/javascripts/admin/templates/user-index.hbs index 302db5f4d07..60d888a4167 100644 --- a/app/assets/javascripts/admin/templates/user_index.hbs +++ b/app/assets/javascripts/admin/templates/user-index.hbs @@ -306,12 +306,12 @@
{{i18n 'admin.user.suspended_by'}}
- {{#link-to 'adminUser' suspendedBy}}{{avatar suspendedBy imageSize="tiny"}}{{/link-to}} - {{#link-to 'adminUser' suspendedBy}}{{suspendedBy.username}}{{/link-to}} + {{#link-to 'adminUser' suspendedBy}}{{avatar model.suspendedBy imageSize="tiny"}}{{/link-to}} + {{#link-to 'adminUser' suspendedBy}}{{model.suspendedBy.username}}{{/link-to}}
{{i18n 'admin.user.suspend_reason'}}: - {{suspend_reason}} + {{model.suspend_reason}}
{{/if}} diff --git a/app/assets/javascripts/discourse/templates/user/user.hbs b/app/assets/javascripts/discourse/templates/user/user.hbs index 7ba76ca75ff..36ced927f26 100644 --- a/app/assets/javascripts/discourse/templates/user/user.hbs +++ b/app/assets/javascripts/discourse/templates/user/user.hbs @@ -77,8 +77,8 @@ {{#if model.isSuspended}}
{{fa-icon "ban"}} - {{i18n 'user.suspended_notice' date=suspendedTillDate}}
- {{i18n 'user.suspended_reason'}} {{suspend_reason}} + {{i18n 'user.suspended_notice' date=model.suspendedTillDate}}
+ {{i18n 'user.suspended_reason'}} {{model.suspend_reason}}
{{/if}} {{{model.bio_cooked}}}