From f1b5bbb1f6efdd3099148c86489264eeddfb6ed5 Mon Sep 17 00:00:00 2001 From: kialam Date: Thu, 15 Nov 2018 20:29:14 -0500 Subject: [PATCH] Add websocket listener to Org > JT list view. --- .../templates/routes/organizationsTemplatesList.route.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/awx/ui/client/features/templates/routes/organizationsTemplatesList.route.js b/awx/ui/client/features/templates/routes/organizationsTemplatesList.route.js index 3bdd705f1e..2232f22c9a 100644 --- a/awx/ui/client/features/templates/routes/organizationsTemplatesList.route.js +++ b/awx/ui/client/features/templates/routes/organizationsTemplatesList.route.js @@ -8,6 +8,15 @@ const templatesListTemplate = require('~features/templates/templatesList.view.ht export default { url: "/:organization_id/job_templates", name: 'organizations.job_templates', + data: { + activityStream: true, + activityStreamTarget: 'template', + socket: { + "groups": { + "jobs": ["status_changed"] + } + } + }, params: { template_search: { dynamic: true,