Added first breadcrumb, the DASHBOARD breadcrumb

This commit is contained in:
Michael Abashian 2015-12-21 10:43:41 -05:00 committed by Jared Tabor
parent cfc5f0e78c
commit aad2c86752
2 changed files with 13 additions and 9 deletions

View File

@ -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', {

View File

@ -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"