Fixed project and inventory list definitions so that status, description and other unnecessary fields do not show on selection dialogs.

This commit is contained in:
chouseknecht
2013-10-15 17:35:16 -04:00
parent f5b679b241
commit 30e907e062
2 changed files with 7 additions and 3 deletions

View File

@@ -38,7 +38,8 @@ angular.module('InventoriesListDefinition', [])
"class": "{{ 'failures-' + inventory.has_active_failures }}", "class": "{{ 'failures-' + inventory.has_active_failures }}",
awToolTip: '# of hosts with failed jobs. Click to view hosts.', awToolTip: '# of hosts with failed jobs. Click to view hosts.',
dataPlacement: 'top', dataPlacement: 'top',
searchable: false searchable: false,
excludeModal: true
}, },
inventory_sources: { inventory_sources: {
label: 'External<br>Sources?', label: 'External<br>Sources?',
@@ -51,6 +52,7 @@ angular.module('InventoriesListDefinition', [])
dataPlacement: "top", dataPlacement: "top",
badgeTipPlacement: 'top', badgeTipPlacement: 'top',
searchable: false, searchable: false,
excludeModal: true,
nosort: true nosort: true
}, },
has_inventory_sources: { has_inventory_sources: {

View File

@@ -35,11 +35,13 @@ angular.module('ProjectsListDefinition', [])
awToolTip: 'View details of last SCM Update', awToolTip: 'View details of last SCM Update',
dataPlacement: 'top', dataPlacement: 'top',
badgeIcon: "\{\{ 'icon-failures-' + project.badge \}\}", badgeIcon: "\{\{ 'icon-failures-' + project.badge \}\}",
badgePlacement: 'left' badgePlacement: 'left',
excludeModal: true
}, },
last_updated: { last_updated: {
label: 'Last Updated', label: 'Last Updated',
type: 'date' type: 'date',
excludeModal: true
} }
}, },