added smart status to scan job templates

in the inventory properties page
This commit is contained in:
Jared Tabor 2015-03-25 16:08:31 -04:00
parent 427f42dec3
commit 267653e50c
2 changed files with 9 additions and 9 deletions

View File

@ -791,7 +791,7 @@ export function InventoriesEdit($scope, $rootScope, $compile, $location, $log, $
.success(function () {
$('#copy-job-modal').dialog('close');
Wait('stop');
$location.path($location.path() + '/' + new_data.id);
$location.path($location.path() + '/job_templates/' + new_data.id);
})
.error(function (data) {
Wait('stop');

View File

@ -114,14 +114,14 @@ export default
},
fields: {
// smart_status: {
// label: 'Status',
// // columnClass: 'col-md-2 col-sm-2 col-xs-2',
// searchable: false,
// nosort: true,
// ngInclude: "'/static/partials/job-template-smart-status.html'",
// type: 'template'
// },
smart_status: {
label: 'Status',
// columnClass: 'col-md-2 col-sm-2 col-xs-2',
searchable: false,
nosort: true,
ngInclude: "'/static/partials/scan-job-template-smart-status.html'",
type: 'template'
},
name: {
key: true,
label: 'Name',