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