Added support for schedule.enabled to Jobs page.

This commit is contained in:
Chris Houseknecht
2014-03-25 10:02:10 -04:00
committed by Chris Church
parent 70be5d9a77
commit bcab5e719e
7 changed files with 120 additions and 50 deletions
+7 -7
View File
@@ -48,13 +48,6 @@ angular.module('JobTemplatesListDefinition', [])
},
fieldActions: {
edit: {
label: 'Edit',
ngClick: "editJobTemplate(job_template.id)",
awToolTip: 'Edit template',
"class": 'btn-default btn-xs',
dataPlacement: 'top'
},
submit: {
label: 'Launch',
mode: 'all',
@@ -69,6 +62,13 @@ angular.module('JobTemplatesListDefinition', [])
awToolTip: 'Schedule future job template runs',
dataPlacement: 'top'
},
edit: {
label: 'Edit',
ngClick: "editJobTemplate(job_template.id)",
awToolTip: 'Edit template',
"class": 'btn-default btn-xs',
dataPlacement: 'top'
},
"delete": {
label: 'Delete',
ngClick: "deleteJobTemplate(job_template.id, job_template.name)",
+5 -5
View File
@@ -92,11 +92,6 @@ angular.module('ProjectsListDefinition', [])
},
fieldActions: {
edit: {
ngClick: "editProject(project.id)",
awToolTip: 'Edit the project',
dataPlacement: 'top'
},
scm_update: {
ngClick: 'SCMUpdate(project.id)',
awToolTip: "{{ project.scm_update_tooltip }}",
@@ -115,6 +110,11 @@ angular.module('ProjectsListDefinition', [])
awToolTip: 'Schedule future SCM updates',
dataPlacement: 'top'
},
edit: {
ngClick: "editProject(project.id)",
awToolTip: 'Edit the project',
dataPlacement: 'top'
},
"delete": {
ngClick: "deleteProject(project.id, project.name)",
awToolTip: 'Delete the project',
+1 -1
View File
@@ -60,7 +60,7 @@ angular.module('ScheduledJobsDefinition', [])
awToolTip: "{{ scheduled_job.play_tip }}",
dataTipWatch: "scheduled_job.play_tip",
iconClass: "{{ 'fa icon-schedule-enabled-' + scheduled_job.enabled }}",
dataPlacement: 'top',
dataPlacement: 'top'
},
"edit": {
mode: "all",