|
@@ -142,7 +142,29 @@ export default function DashboardRoutes($stateProvider) { |
|
@@ -142,7 +142,29 @@ export default function DashboardRoutes($stateProvider) { |
142
|
pageTitle: 'edge.dashboards'
|
142
|
pageTitle: 'edge.dashboards'
|
143
|
},
|
143
|
},
|
144
|
ncyBreadcrumb: {
|
144
|
ncyBreadcrumb: {
|
145
|
- label: '{"icon": "dashboard", "label": "{{ vm.edgeDashboardsTitle }}", "translate": "false"}'
|
145
|
+ label: '{"icon": "dashboard", "label": "edge.dashboards"}'
|
|
|
146
|
+ }
|
|
|
147
|
+ })
|
|
|
148
|
+ .state('home.edges.dashboards.dashboard', {
|
|
|
149
|
+ url: '/:dashboardId?state',
|
|
|
150
|
+ reloadOnSearch: false,
|
|
|
151
|
+ module: 'private',
|
|
|
152
|
+ auth: ['TENANT_ADMIN', 'CUSTOMER_USER'],
|
|
|
153
|
+ views: {
|
|
|
154
|
+ "content@home": {
|
|
|
155
|
+ templateUrl: dashboardTemplate,
|
|
|
156
|
+ controller: 'DashboardController',
|
|
|
157
|
+ controllerAs: 'vm'
|
|
|
158
|
+ }
|
|
|
159
|
+ },
|
|
|
160
|
+ data: {
|
|
|
161
|
+ widgetEditMode: false,
|
|
|
162
|
+ searchEnabled: false,
|
|
|
163
|
+ pageTitle: 'dashboard.dashboard',
|
|
|
164
|
+ dashboardsType: 'edge',
|
|
|
165
|
+ },
|
|
|
166
|
+ ncyBreadcrumb: {
|
|
|
167
|
+ label: '{"icon": "dashboard", "label": "{{ vm.dashboard.title }}", "translate": "false"}'
|
146
|
}
|
168
|
}
|
147
|
})
|
169
|
})
|
148
|
} |
170
|
} |