From ae145affe62d67ebff247cd636f5379b806995c4 Mon Sep 17 00:00:00 2001 From: Michael Abashian Date: Mon, 21 Dec 2015 11:31:28 -0500 Subject: [PATCH] Dropped in custom breadcrumb template - I think we will need this for styling purposes. --- awx/ui/client/src/app.js | 8 ++++++-- awx/ui/client/src/partials/breadcrumb.html | 8 ++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 awx/ui/client/src/partials/breadcrumb.html diff --git a/awx/ui/client/src/app.js b/awx/ui/client/src/app.js index 71a00f4135..e8b871b6f9 100644 --- a/awx/ui/client/src/app.js +++ b/awx/ui/client/src/app.js @@ -197,8 +197,12 @@ var tower = angular.module('Tower', [ .config(['$pendolyticsProvider', function($pendolyticsProvider) { $pendolyticsProvider.doNotAutoStart(); }]) - .config(['$stateProvider', '$urlRouterProvider', - function ($stateProvider, $urlRouterProvider) { + .config(['$stateProvider', '$urlRouterProvider', '$breadcrumbProvider', + function ($stateProvider, $urlRouterProvider, $breadcrumbProvider) { + + $breadcrumbProvider.setOptions({ + templateUrl: urlPrefix + 'partials/breadcrumb.html' + }); $urlRouterProvider.otherwise("/home"); diff --git a/awx/ui/client/src/partials/breadcrumb.html b/awx/ui/client/src/partials/breadcrumb.html new file mode 100644 index 0000000000..5722bbd2d8 --- /dev/null +++ b/awx/ui/client/src/partials/breadcrumb.html @@ -0,0 +1,8 @@ +