AC-144 Added job_tags to jobs and jobs_template

This commit is contained in:
chouseknecht 2013-07-18 13:57:38 -04:00
parent 48cb41f1fa
commit 3c5b10979f
2 changed files with 20 additions and 2 deletions

View File

@ -144,6 +144,24 @@ angular.module('JobFormDefinition', [])
dataTitle: 'Extra Variables',
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 &quot;configuration&quot;, &quot;packages&quot; and &quot;install&quot;.</p>" +
"<p>If you just want to run the &quot;configuration&quot; and &quot;packages&quot; 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: {
label: 'Allow Callbacks',
type: 'checkbox',

View File

@ -40,7 +40,7 @@ angular.module('TeamsListDefinition', [])
icon: 'icon-plus',
mode: 'all', // One of: edit, select, all
ngClick: 'addTeam()',
"class": 'btn-small',
"class": 'btn-small btn-success',
awToolTip: 'Create a new team'
}
},
@ -50,7 +50,7 @@ angular.module('TeamsListDefinition', [])
label: 'Edit',
ngClick: "editTeam(\{\{ team.id \}\})",
icon: 'icon-edit',
"class": 'btn-small btn-success',
"class": 'btn-small',
awToolTip: 'View/Edit team'
},