From 08cd17b4cf02a55725c4c7a9504563f631ed8e7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Fri, 27 Nov 2015 18:58:40 +0100 Subject: [PATCH] remove deprecation warning in admin/user-index template --- .../javascripts/admin/templates/user-index.hbs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/assets/javascripts/admin/templates/user-index.hbs b/app/assets/javascripts/admin/templates/user-index.hbs index bdbee2e53..32190c967 100644 --- a/app/assets/javascripts/admin/templates/user-index.hbs +++ b/app/assets/javascripts/admin/templates/user-index.hbs @@ -434,26 +434,26 @@

{{i18n 'admin.user.sso.title'}}

- {{#with model.single_sign_on_record}} + {{#with model.single_sign_on_record as |sso|}}
{{i18n 'admin.user.sso.external_id'}}
-
{{external_id}}
+
{{sso.external_id}}
{{i18n 'admin.user.sso.external_username'}}
-
{{external_username}}
+
{{sso.external_username}}
{{i18n 'admin.user.sso.external_name'}}
-
{{external_name}}
+
{{sso.external_name}}
{{i18n 'admin.user.sso.external_email'}}
-
{{external_email}}
+
{{sso.external_email}}
{{i18n 'admin.user.sso.external_avatar_url'}}
-
{{external_avatar_url}}
+
{{sso.external_avatar_url}}
{{/with}}