mirror of
https://github.com/ansible/awx.git
synced 2026-03-05 18:51:06 -03:30
Added first breadcrumb, the DASHBOARD breadcrumb
This commit is contained in:
committed by
Jared Tabor
parent
cfc5f0e78c
commit
aad2c86752
@@ -774,15 +774,18 @@ var tower = angular.module('Tower', [
|
|||||||
state('dashboard', {
|
state('dashboard', {
|
||||||
url: '/home',
|
url: '/home',
|
||||||
templateUrl: urlPrefix + 'partials/home.html',
|
templateUrl: urlPrefix + 'partials/home.html',
|
||||||
controller: Home
|
controller: Home,
|
||||||
// resolve: {
|
ncyBreadcrumb: {
|
||||||
// graphData: ['$q', 'jobStatusGraphData', 'FeaturesService', function($q, jobStatusGraphData, FeaturesService) {
|
label: "DASHBOARD"
|
||||||
// return $q.all({
|
},
|
||||||
// jobStatus: jobStatusGraphData.get("month", "all"),
|
resolve: {
|
||||||
// features: FeaturesService.get()
|
graphData: ['$q', 'jobStatusGraphData', 'FeaturesService', function($q, jobStatusGraphData, FeaturesService) {
|
||||||
// });
|
return $q.all({
|
||||||
// }]
|
jobStatus: jobStatusGraphData.get("month", "all"),
|
||||||
// }
|
features: FeaturesService.get()
|
||||||
|
});
|
||||||
|
}]
|
||||||
|
}
|
||||||
}).
|
}).
|
||||||
|
|
||||||
state('dashboardGroups', {
|
state('dashboardGroups', {
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<div id="bread_crumb" class="BreadCrumb" ng-class="{'is-loggedOut' : !$root.current_user.username}">
|
<div id="bread_crumb" class="BreadCrumb" ng-class="{'is-loggedOut' : !$root.current_user.username}">
|
||||||
|
<div ncy-breadcrumb></div>
|
||||||
<div class="BreadCrumb-menuLink"
|
<div class="BreadCrumb-menuLink"
|
||||||
id="bread_crumb_activity_stream"
|
id="bread_crumb_activity_stream"
|
||||||
aw-tool-tip="View Activity Stream"
|
aw-tool-tip="View Activity Stream"
|
||||||
|
|||||||
Reference in New Issue
Block a user