From da4c377277652773c2aac111afb041d26f7304eb Mon Sep 17 00:00:00 2001 From: Sam Date: Sun, 16 Aug 2015 14:02:22 +1000 Subject: [PATCH] FIX: can not approve users from admin dialog --- app/assets/javascripts/admin/templates/user-index.hbs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/assets/javascripts/admin/templates/user-index.hbs b/app/assets/javascripts/admin/templates/user-index.hbs index 60d888a4167..9afd15829aa 100644 --- a/app/assets/javascripts/admin/templates/user-index.hbs +++ b/app/assets/javascripts/admin/templates/user-index.hbs @@ -143,19 +143,19 @@
{{i18n 'admin.users.approved'}}
- {{#if approved}} + {{#if model.approved}} {{i18n 'admin.user.approved_by'}} - {{#link-to 'adminUser' approvedBy}}{{avatar approvedBy imageSize="small"}}{{/link-to}} - {{#link-to 'adminUser' approvedBy}}{{approvedBy.username}}{{/link-to}} + {{#link-to 'adminUser' approvedBy}}{{avatar model.approvedBy imageSize="small"}}{{/link-to}} + {{#link-to 'adminUser' approvedBy}}{{model.approvedBy.username}}{{/link-to}} {{else}} {{i18n 'no_value'}} {{/if}}
- {{#if approved}} + {{#if model.approved}} {{i18n 'admin.user.approve_success'}} {{else}} - {{#if can_approve}} + {{#if model.can_approve}}