4.7.16 release notes - result of initial automated run
[civicrm-core.git] / ang / crmStatusPage.js
1 (function(angular, $, _) {
2 // Declare a list of dependencies.
3 angular.module('statuspage', [
4 'crmUi', 'crmUtil', 'ngRoute'
5 ]);
6
7 // router
8 angular.module('statuspage').config( function($routeProvider) {
9 $routeProvider.when('/status', {
10 controller: 'statuspageStatusPage',
11 templateUrl: '~/statuspage/StatusPage.html',
12
13 resolve: {
14 statusData: function(crmApi) {
15 return crmApi('System', 'check', {sequential: 1});
16 }
17 }
18 });
19
20 }
21 );
22 })(angular, CRM.$, CRM._);