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 () { .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');

View File

@@ -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',