From 7a9da175468a38ba419b3292ff04046d75d2017e Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Thu, 22 Oct 2015 12:24:43 -0400 Subject: [PATCH] CRM-13823 - Show help for system status page --- ang/crmStatusPage/StatusPage.html | 11 ++++++++++- ang/crmStatusPage/StatusPageCtrl.js | 3 ++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/ang/crmStatusPage/StatusPage.html b/ang/crmStatusPage/StatusPage.html index ded27d0e4c..2c5a9cd3ac 100644 --- a/ang/crmStatusPage/StatusPage.html +++ b/ang/crmStatusPage/StatusPage.html @@ -24,7 +24,16 @@

-
+
+ + + +


diff --git a/ang/crmStatusPage/StatusPageCtrl.js b/ang/crmStatusPage/StatusPageCtrl.js index 823439ba48..bec4df34f1 100644 --- a/ang/crmStatusPage/StatusPageCtrl.js +++ b/ang/crmStatusPage/StatusPageCtrl.js @@ -6,12 +6,13 @@ function($scope, $location, crmApi, crmStatus, crmUiHelp, statuses, crmNavigator, preferences) { // The ts() and hs() functions help load strings for this module. var ts = $scope.ts = CRM.ts('statuspage'); - var hs = $scope.hs = crmUiHelp({file: 'CRM/statuspage/StatusPage'}); // See: templates/CRM/statuspage/StatusPage.hlp + // var hs = $scope.hs = crmUiHelp({file: 'CRM/statuspage/StatusPage'}); // See: templates/CRM/statuspage/StatusPage.hlp $scope.path = $location.path(); $scope.navigator = crmNavigator; $scope.statuses = statuses; $scope.preferences = preferences; + $scope.alert = CRM.alert; // will "hush" a status - gets the severity level of the status that is being hushed, and hushes all alerts for that check at and below the level of the current check $scope.hush = function(name, severity) { -- 2.25.1