From 9ed89f96222c85bbd4d7f49c9430019bf2345bfd Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Thu, 12 Mar 2015 11:41:36 -0400 Subject: [PATCH] fixing breadcrumbs for new inventory page/manage fixing breadcrumbs to reflect the level of nesting of hte manage page. --- awx/ui/static/js/controllers/Inventories.js | 10 +++++----- awx/ui/static/partials/inventory-manage.html | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/awx/ui/static/js/controllers/Inventories.js b/awx/ui/static/js/controllers/Inventories.js index a34ac0ee8d..acdf7c5de1 100644 --- a/awx/ui/static/js/controllers/Inventories.js +++ b/awx/ui/static/js/controllers/Inventories.js @@ -722,11 +722,11 @@ export function InventoriesManage ($log, $scope, $location, $routeParams, $compi $scope.removeInventoryLoaded = $scope.$on('InventoryLoaded', function() { var e, rows; - LoadBreadCrumbs({ - path: $location.path(), - title: '{{ inventory.name }}' - }); - $scope.group_breadcrumbs[0].name = $scope.inventory.name; + LoadBreadCrumbs(); + // path: $location.path(), + // title: 'All Groups'//'{{ inventory.name }}' + // }); + $scope.group_breadcrumbs[0].name = "All Groups"; // $scope.inventory.name; // Build page breadcrumbs e = angular.element(document.getElementById('breadcrumbs')); diff --git a/awx/ui/static/partials/inventory-manage.html b/awx/ui/static/partials/inventory-manage.html index 3116445ec1..54840e4562 100644 --- a/awx/ui/static/partials/inventory-manage.html +++ b/awx/ui/static/partials/inventory-manage.html @@ -3,7 +3,7 @@ @@ -156,4 +156,4 @@
- \ No newline at end of file +