mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 09:51:09 +03:00
Merge pull request #1314 from jakemcdermott/fix-delete-cancel-urls
use newly ordained list of statuses for showing cancel/delete
This commit is contained in:
commit
53944a2cf3
@ -12,8 +12,7 @@
|
|||||||
class="List-actionButton List-actionButton--delete"
|
class="List-actionButton List-actionButton--delete"
|
||||||
data-placement="top"
|
data-placement="top"
|
||||||
ng-click="vm.cancelJob()"
|
ng-click="vm.cancelJob()"
|
||||||
ng-show="vm.status.value === 'New' ||
|
ng-show="vm.status.value === 'Pending' ||
|
||||||
vm.status.value === 'Pending' ||
|
|
||||||
vm.status.value === 'Waiting' ||
|
vm.status.value === 'Waiting' ||
|
||||||
vm.status.value === 'Running'"
|
vm.status.value === 'Running'"
|
||||||
aw-tool-tip="{{'Cancel' | translate }}"
|
aw-tool-tip="{{'Cancel' | translate }}"
|
||||||
@ -28,6 +27,7 @@
|
|||||||
data-placement="top"
|
data-placement="top"
|
||||||
ng-click="vm.deleteJob()"
|
ng-click="vm.deleteJob()"
|
||||||
ng-show="vm.canDelete && (
|
ng-show="vm.canDelete && (
|
||||||
|
vm.status.value === 'New' ||
|
||||||
vm.status.value === 'Successful' ||
|
vm.status.value === 'Successful' ||
|
||||||
vm.status.value === 'Failed' ||
|
vm.status.value === 'Failed' ||
|
||||||
vm.status.value === 'Error' ||
|
vm.status.value === 'Error' ||
|
||||||
|
Loading…
Reference in New Issue
Block a user