From d468f829dda2c476e43e2bea3c095b3543ad4a1c Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Fri, 22 Jun 2018 17:56:26 -0700 Subject: [PATCH] Shows the Cancel button on the jobs list for a running system job --- awx/ui/client/features/jobs/jobsList.view.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/awx/ui/client/features/jobs/jobsList.view.html b/awx/ui/client/features/jobs/jobsList.view.html index e550cd879f..72d40c6130 100644 --- a/awx/ui/client/features/jobs/jobsList.view.html +++ b/awx/ui/client/features/jobs/jobsList.view.html @@ -74,10 +74,13 @@ ng-show="job.summary_fields.user_capabilities.start"> + job.status === 'running')) || ($root.user_is_superuser && job.type === 'system_job' && + (job.status === 'pending' || + job.status === 'waiting' || + job.status === 'running'))">