tech(notifications): remove unused filter markup

This commit is contained in:
bergquist
2016-10-01 15:50:50 +02:00
parent aa78114440
commit 91b180168e
2 changed files with 1 additions and 9 deletions

View File

@@ -7,7 +7,6 @@ import config from 'app/core/config';
export class AlertNotificationEditCtrl {
model: any;
showTest: boolean = false;
testSeverity: string = "critical";
/** @ngInject */
@@ -53,10 +52,6 @@ export class AlertNotificationEditCtrl {
this.model.settings = {};
}
toggleTest() {
this.showTest = !this.showTest;
}
testNotification() {
var payload = {
name: this.model.name,

View File

@@ -74,10 +74,7 @@
<div class="gf-form width-6">
<button ng-click="ctrl.save()" class="btn btn-success">Save</button>
</div>
<div class="gf-form width-8">
<button ng-click="ctrl.toggleTest()" class="btn btn-secondary">Test</button>
</div>
<div class="gf-form width-20" ng-show="ctrl.showTest">
<div class="gf-form width-20">
<div class="gf-form" ng-show="ctrl.showTest">
<button ng-click="ctrl.testNotification()" class="btn btn-secondary">Send</button>
</div>