mirror of
https://github.com/ansible/awx.git
synced 2026-03-21 10:57:36 -02:30
added smart status to scan job templates
in the inventory properties page
This commit is contained in:
@@ -791,7 +791,7 @@ export function InventoriesEdit($scope, $rootScope, $compile, $location, $log, $
|
|||||||
.success(function () {
|
.success(function () {
|
||||||
$('#copy-job-modal').dialog('close');
|
$('#copy-job-modal').dialog('close');
|
||||||
Wait('stop');
|
Wait('stop');
|
||||||
$location.path($location.path() + '/' + new_data.id);
|
$location.path($location.path() + '/job_templates/' + new_data.id);
|
||||||
})
|
})
|
||||||
.error(function (data) {
|
.error(function (data) {
|
||||||
Wait('stop');
|
Wait('stop');
|
||||||
|
|||||||
@@ -114,14 +114,14 @@ export default
|
|||||||
},
|
},
|
||||||
|
|
||||||
fields: {
|
fields: {
|
||||||
// smart_status: {
|
smart_status: {
|
||||||
// label: 'Status',
|
label: 'Status',
|
||||||
// // columnClass: 'col-md-2 col-sm-2 col-xs-2',
|
// columnClass: 'col-md-2 col-sm-2 col-xs-2',
|
||||||
// searchable: false,
|
searchable: false,
|
||||||
// nosort: true,
|
nosort: true,
|
||||||
// ngInclude: "'/static/partials/job-template-smart-status.html'",
|
ngInclude: "'/static/partials/scan-job-template-smart-status.html'",
|
||||||
// type: 'template'
|
type: 'template'
|
||||||
// },
|
},
|
||||||
name: {
|
name: {
|
||||||
key: true,
|
key: true,
|
||||||
label: 'Name',
|
label: 'Name',
|
||||||
|
|||||||
Reference in New Issue
Block a user