From be4e5c8f0618cae54014e27021cd642de5d40d07 Mon Sep 17 00:00:00 2001 From: Haokun Chen Date: Wed, 30 May 2018 16:05:16 -0400 Subject: [PATCH] fixed dashboard icon under job template section for system auditor user dashboard icon fixed --- .../lists/job-templates/job-templates-list.directive.js | 3 ++- .../lists/job-templates/job-templates-list.partial.html | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/awx/ui/client/src/home/dashboard/lists/job-templates/job-templates-list.directive.js b/awx/ui/client/src/home/dashboard/lists/job-templates/job-templates-list.directive.js index 7bb40ab40b..0a221db406 100644 --- a/awx/ui/client/src/home/dashboard/lists/job-templates/job-templates-list.directive.js +++ b/awx/ui/client/src/home/dashboard/lists/job-templates/job-templates-list.directive.js @@ -32,7 +32,8 @@ export default can_start: template.summary_fields.user_capabilities.start, name: template.name, id: template.id, - type: template.type + type: template.type, + can_edit: template.summary_fields.user_capabilities.edit }; }); } diff --git a/awx/ui/client/src/home/dashboard/lists/job-templates/job-templates-list.partial.html b/awx/ui/client/src/home/dashboard/lists/job-templates/job-templates-list.partial.html index bae76bedd8..f97ee99668 100644 --- a/awx/ui/client/src/home/dashboard/lists/job-templates/job-templates-list.partial.html +++ b/awx/ui/client/src/home/dashboard/lists/job-templates/job-templates-list.partial.html @@ -33,7 +33,8 @@