Synced code between list view and related list view. Column displaying icon with text rather than actual value (i.e. true/false for has_active_failures) works consistently. Changed icon and text for our has_active_failures column -preparing it to link to hosts/N/job_events data.

This commit is contained in:
chouseknecht
2013-06-14 12:17:31 -04:00
parent 703bc0fca1
commit ab9b9f84c5
16 changed files with 791 additions and 1113 deletions

View File

@@ -35,8 +35,9 @@ angular.module('InventoriesListDefinition', [])
has_active_failures: {
label: 'Failures',
showValue: false,
ngShowIcon: "\{\{ inventory.has_active_failures \}\}",
icon: 'icon-circle',
text: 'Failed events',
ngShow: "\{\{ inventory.has_active_failures \}\}",
icon: 'icon-exclamation-sign',
"class": 'active-failures-\{\{ inventory.has_active_failures \}\}',
searchField: 'has_active_failures',
searchType: 'boolean',