mirror of
https://github.com/ansible/awx.git
synced 2026-05-09 10:27:37 -02:30
AC-144 Added job_tags to jobs and jobs_template
This commit is contained in:
@@ -144,6 +144,24 @@ angular.module('JobFormDefinition', [])
|
|||||||
dataTitle: 'Extra Variables',
|
dataTitle: 'Extra Variables',
|
||||||
dataPlacement: 'left'
|
dataPlacement: 'left'
|
||||||
},
|
},
|
||||||
|
job_tags: {
|
||||||
|
label: 'Job Tags',
|
||||||
|
type: 'textarea',
|
||||||
|
rows: 1,
|
||||||
|
addRequired: false,
|
||||||
|
editRequired: false,
|
||||||
|
'class': 'span12',
|
||||||
|
column: 2,
|
||||||
|
awPopOver: "<p>Provide a comma separated list of tags.</p>\n" +
|
||||||
|
"<p>Tags are useful when you have a large playbook, and you want to run a specific part of a play or task.</p>" +
|
||||||
|
"<p>For example, you might have a task consisiting of a long list of actions. Tag values can be assigned to each action. " +
|
||||||
|
"Suppose the actions have been assigned tag values of "configuration", "packages" and "install".</p>" +
|
||||||
|
"<p>If you just want to run the "configuration" and "packages" actions, you would enter the following here " +
|
||||||
|
"in the Job Tags field:<\p>\n" +
|
||||||
|
"<blockquote>configuration,packages</blockquote>\n",
|
||||||
|
dataTitle: "Job Tags",
|
||||||
|
dataPlacement: "left"
|
||||||
|
},
|
||||||
allow_callbacks: {
|
allow_callbacks: {
|
||||||
label: 'Allow Callbacks',
|
label: 'Allow Callbacks',
|
||||||
type: 'checkbox',
|
type: 'checkbox',
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ angular.module('TeamsListDefinition', [])
|
|||||||
icon: 'icon-plus',
|
icon: 'icon-plus',
|
||||||
mode: 'all', // One of: edit, select, all
|
mode: 'all', // One of: edit, select, all
|
||||||
ngClick: 'addTeam()',
|
ngClick: 'addTeam()',
|
||||||
"class": 'btn-small',
|
"class": 'btn-small btn-success',
|
||||||
awToolTip: 'Create a new team'
|
awToolTip: 'Create a new team'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -50,7 +50,7 @@ angular.module('TeamsListDefinition', [])
|
|||||||
label: 'Edit',
|
label: 'Edit',
|
||||||
ngClick: "editTeam(\{\{ team.id \}\})",
|
ngClick: "editTeam(\{\{ team.id \}\})",
|
||||||
icon: 'icon-edit',
|
icon: 'icon-edit',
|
||||||
"class": 'btn-small btn-success',
|
"class": 'btn-small',
|
||||||
awToolTip: 'View/Edit team'
|
awToolTip: 'View/Edit team'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user