From 01d46d43f4d49b33c8cfc6475d05a2047bbb2c12 Mon Sep 17 00:00:00 2001 From: jaredevantabor Date: Tue, 20 Dec 2016 20:43:11 -0800 Subject: [PATCH] another fix for organizations.job-templates sortin & smart status --- .../src/organizations/linkout/organizations-linkout.route.js | 2 ++ .../src/partials/organizations-job-template-smart-status.html | 1 + 2 files changed, 3 insertions(+) create mode 100644 awx/ui/client/src/partials/organizations-job-template-smart-status.html diff --git a/awx/ui/client/src/organizations/linkout/organizations-linkout.route.js b/awx/ui/client/src/organizations/linkout/organizations-linkout.route.js index b92cb03222..ceb8a45251 100644 --- a/awx/ui/client/src/organizations/linkout/organizations-linkout.route.js +++ b/awx/ui/client/src/organizations/linkout/organizations-linkout.route.js @@ -298,7 +298,9 @@ export default [{ list.searchSize = "col-lg-12 col-md-12 col-sm-12 col-xs-12"; list.iterator = 'job_template'; list.name = 'job_templates'; + list.basePath = "job_templates"; list.fields.type.ngBind = "job_template.type_label"; + list.fields.smart_status.ngInclude = "'/static/partials/organizations-job-template-smart-status.html'"; return list; }], OrgJobTemplateDataset: ['OrgJobTemplateList', 'QuerySet', '$stateParams', 'GetBasePath', diff --git a/awx/ui/client/src/partials/organizations-job-template-smart-status.html b/awx/ui/client/src/partials/organizations-job-template-smart-status.html new file mode 100644 index 0000000000..a9c6365970 --- /dev/null +++ b/awx/ui/client/src/partials/organizations-job-template-smart-status.html @@ -0,0 +1 @@ +