From 5851d678bbf0166240d7be9063b62beca1e49747 Mon Sep 17 00:00:00 2001 From: chouseknecht Date: Thu, 20 Jun 2013 15:30:25 -0400 Subject: [PATCH] Style/label tweaks to Hosts section of Inventory detail page. --- ansibleworks/ui/static/js/forms/Inventories.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansibleworks/ui/static/js/forms/Inventories.js b/ansibleworks/ui/static/js/forms/Inventories.js index 6ac1cb5c2e..d2716b2475 100644 --- a/ansibleworks/ui/static/js/forms/Inventories.js +++ b/ansibleworks/ui/static/js/forms/Inventories.js @@ -119,13 +119,13 @@ angular.module('InventoryFormDefinition', []) ngClick: "editHost(\{\{ host.id \}\}, '\{\{ host.name \}\}')" }, has_active_failures: { - label: 'Failures', + label: 'Failed jobs?', showValue: false, ngClick: "showEvents('\{\{ host.name \}\}', '\{\{ host.related.last_job \}\}')", ngShow: "\{\{ host.has_active_failures \}\}", icon: 'icon-exclamation-sign', "class": 'active-failures-\{\{ host.has_active_failures \}\}', - text: 'Failed events', + text: 'View failures', searchField: 'has_active_failures', searchType: 'boolean', searchOptions: [{ name: "No", value: 0 }, { name: "Yes", value: 1 }]