From 9b5a7b5ef6686735f5957dc231be9777849bf18c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Thu, 18 Aug 2016 09:58:20 +0200 Subject: [PATCH] feat(alerting): added alert howto text, closes #5784 --- public/app/features/alerting/alert_tab_ctrl.ts | 2 ++ public/app/features/alerting/partials/alert_howto.html | 10 +++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/public/app/features/alerting/alert_tab_ctrl.ts b/public/app/features/alerting/alert_tab_ctrl.ts index cdba3efb7be..b524eb0b6fb 100644 --- a/public/app/features/alerting/alert_tab_ctrl.ts +++ b/public/app/features/alerting/alert_tab_ctrl.ts @@ -21,6 +21,7 @@ export class AlertTabCtrl { notifications; alertNotifications; error: string; + appSubUrl: string; /** @ngInject */ constructor(private $scope, @@ -38,6 +39,7 @@ export class AlertTabCtrl { this.evalFunctions = alertDef.evalFunctions; this.conditionTypes = alertDef.conditionTypes; this.severityLevels = alertDef.severityLevels; + this.appSubUrl = config.appSubUrl; } $onInit() { diff --git a/public/app/features/alerting/partials/alert_howto.html b/public/app/features/alerting/partials/alert_howto.html index 4452ed888c3..62036e77b64 100644 --- a/public/app/features/alerting/partials/alert_howto.html +++ b/public/app/features/alerting/partials/alert_howto.html @@ -12,7 +12,15 @@