From 30e907e0626b32eeb52d29caa9d2de42e8dde31d Mon Sep 17 00:00:00 2001 From: chouseknecht Date: Tue, 15 Oct 2013 17:35:16 -0400 Subject: [PATCH] Fixed project and inventory list definitions so that status, description and other unnecessary fields do not show on selection dialogs. --- awx/ui/static/js/lists/Inventories.js | 4 +++- awx/ui/static/js/lists/Projects.js | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/awx/ui/static/js/lists/Inventories.js b/awx/ui/static/js/lists/Inventories.js index 8f8aae057a..e7282cf55a 100644 --- a/awx/ui/static/js/lists/Inventories.js +++ b/awx/ui/static/js/lists/Inventories.js @@ -38,7 +38,8 @@ angular.module('InventoriesListDefinition', []) "class": "{{ 'failures-' + inventory.has_active_failures }}", awToolTip: '# of hosts with failed jobs. Click to view hosts.', dataPlacement: 'top', - searchable: false + searchable: false, + excludeModal: true }, inventory_sources: { label: 'External
Sources?', @@ -51,6 +52,7 @@ angular.module('InventoriesListDefinition', []) dataPlacement: "top", badgeTipPlacement: 'top', searchable: false, + excludeModal: true, nosort: true }, has_inventory_sources: { diff --git a/awx/ui/static/js/lists/Projects.js b/awx/ui/static/js/lists/Projects.js index d4a2937924..87d1c7078f 100644 --- a/awx/ui/static/js/lists/Projects.js +++ b/awx/ui/static/js/lists/Projects.js @@ -35,11 +35,13 @@ angular.module('ProjectsListDefinition', []) awToolTip: 'View details of last SCM Update', dataPlacement: 'top', badgeIcon: "\{\{ 'icon-failures-' + project.badge \}\}", - badgePlacement: 'left' + badgePlacement: 'left', + excludeModal: true }, last_updated: { label: 'Last Updated', - type: 'date' + type: 'date', + excludeModal: true } },