diff --git a/awx/ui/client/src/lists/ScheduledJobs.js b/awx/ui/client/src/lists/ScheduledJobs.js index c618c3465b..b2980e187c 100644 --- a/awx/ui/client/src/lists/ScheduledJobs.js +++ b/awx/ui/client/src/lists/ScheduledJobs.js @@ -12,22 +12,21 @@ export default name: 'schedules', iterator: 'schedule', editTitle: 'Scheduled Jobs', - index: true, hover: true, well: false, emptyListText: 'No schedules exist', fields: { - status: { + enabled: { label: '', - columnClass: 'List-staticColumn--smallStatus', - awToolTip: "{{ schedule.status_tip }}", - awTipPlacement: "right", - icon: 'icon-job-{{ schedule.status }}', - iconOnly: true, + columnClass: 'List-staticColumn--toggle', + type: 'toggle', ngClick: "toggleSchedule($event, schedule.id)", searchable: false, - nosort: true + nosort: true, + awToolTip: "{{ schedule.play_tip }}", + dataTipWatch: "schedule.play_tip", + dataPlacement: 'top' }, name: { label: 'Name', @@ -63,7 +62,7 @@ export default columnClass: "col-lg-3 col-md-2 col-sm-3 hidden-xs", filter: "longDate", key: true - }, + } }, actions: { }, @@ -71,15 +70,6 @@ export default fieldActions: { columnClass: 'col-lg-3 col-md-3 col-sm-3 col-xs-5', - - "play": { - mode: "all", - ngClick: "toggleSchedule($event, schedule.id)", - awToolTip: "{{ schedule.play_tip }}", - dataTipWatch: "schedule.play_tip", - iconClass: "{{ 'fa icon-schedule-enabled-' + schedule.enabled }}", - dataPlacement: 'top' - }, "edit": { mode: "all", ngClick: "editSchedule(schedule.id)",