Add option to alert on ExecutionError

This commit is contained in:
ichekrygin
2016-10-30 11:14:54 -07:00
parent 4ca304b756
commit b46cbc5fbe
2 changed files with 25 additions and 6 deletions

View File

@@ -93,6 +93,15 @@
<span class="gf-form-label width-6">Url</span>
<input type="text" required class="gf-form-input max-width-30" ng-model="ctrl.model.settings.url" placeholder="Victorops url"></input>
</div>
<div class="gf-form">
<gf-form-switch
class="gf-form"
label="Alert on Exec Error"
label-class="width-12"
checked="ctrl.model.settings.alertOnExecError"
tooltip="Trigger incident on Execution Error">
</gf-form-switch>
</div>
</div>
<div class="gf-form-group section" ng-if="ctrl.model.type === 'email'">