adding in arrays for statuspage
authorNikki Murray <nikki.liz.murray@gmail.com>
Tue, 13 Oct 2015 14:44:05 +0000 (10:44 -0400)
committerNikki Murray <nikki.liz.murray@gmail.com>
Tue, 13 Oct 2015 19:23:44 +0000 (15:23 -0400)
Civi/Angular/Manager.php

index 8977e1c14f5eb6451a7ba92e2b9155c8bbc60bfe..dc254caf8cf48be9a549bc951a5cae2a51c246b5 100644 (file)
@@ -136,6 +136,14 @@ class Manager {
         'js' => array('bower_components/angular-unsavedChanges/dist/unsavedChanges.min.js'),
       );
 
+      $angularModules['statuspage'] = array(
+        'ext' => 'civicrm',
+        'js' => array('ang/crmStatusPage.js', 'ang/crmStatusPage/*.js'),
+        'css' => array('ang/crmStatusPage.css'),
+        'partials' => array('ang/crmStatusPage/*.html'),
+        'settings' => array(),
+      );
+
       foreach (\CRM_Core_Component::getEnabledComponents() as $component) {
         $angularModules = array_merge($angularModules, $component->getAngularModules());
       }