modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/InventoryView.java | 6 +++--- modules/enterprise/gui/coregui/src/main/webapp/images/types/GroupDefinition_24.png |binary 2 files changed, 3 insertions(+), 3 deletions(-)
New commits: commit 3a6da41cd4549d5ab71d9770ecd84642266f9dd0 Author: John Mazzitelli mazz@redhat.com Date: Mon Nov 29 17:06:28 2010 -0500
show the downed server icon to be consistent with other views add new 24px group def icon and show it
diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/InventoryView.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/InventoryView.java index 2340ec4..2120978 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/InventoryView.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/inventory/InventoryView.java @@ -189,7 +189,8 @@ public class InventoryView extends AbstractSectionedLeftNavigationView { criteria.addCriteria(ResourceDataSourceField.CATEGORY.propertyName(), ResourceCategory.SERVER.name()); // TODO (ips, 10/28/10): Should we include down platforms too? return new ResourceSearchView(extendLocatorId(PAGE_DOWN_SERVERS.getName()), criteria, MSG - .view_inventory_downServers()); + .view_inventory_downServers(), ImageManager.getResourceLargeIcon(ResourceCategory.SERVER, + Boolean.FALSE)); } });
@@ -201,9 +202,8 @@ public class InventoryView extends AbstractSectionedLeftNavigationView { NavigationItem dynagroupDefinitionsItem = new NavigationItem(PAGE_DYNAGROUP_DEFINITIONS, "types/GroupDefinition_16.png", new ViewFactory() { public Canvas createView() { - // TODO: Do we have a 24x24 groupdef icon? return new GroupDefinitionListView(extendLocatorId(PAGE_DYNAGROUP_DEFINITIONS.getName()), - "types/GroupDefinition_16.png"); + "types/GroupDefinition_24.png"); } }, this.globalPermissions.contains(Permission.MANAGE_INVENTORY));
diff --git a/modules/enterprise/gui/coregui/src/main/webapp/images/types/GroupDefinition_24.png b/modules/enterprise/gui/coregui/src/main/webapp/images/types/GroupDefinition_24.png new file mode 100644 index 0000000..3289d81 Binary files /dev/null and b/modules/enterprise/gui/coregui/src/main/webapp/images/types/GroupDefinition_24.png differ
rhq-commits@lists.fedorahosted.org