You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
694 B
18 lines
694 B
6 years ago
|
<div ng-if="ctrl.analyticsController.serverStatus === true">
|
||
5 years ago
|
<div ng-if="!ctrl.analyticsController.analyticUnits.length">
|
||
|
<h5> Please create at least 1 analytic unit to enable webhooks </h5>
|
||
|
</div>
|
||
|
<div ng-if="ctrl.analyticsController.analyticUnits.length">
|
||
|
<h5>Enable webhooks</h5>
|
||
|
</div>
|
||
6 years ago
|
<div class="editor-row">
|
||
|
<div class="gf-form" ng-repeat="analyticUnit in ctrl.analyticsController.analyticUnits">
|
||
|
<label class="gf-form-label max-width-15"> {{ analyticUnit.name }} ({{ analyticUnit.type }}) </label>
|
||
|
<gf-form-switch
|
||
|
on-change="ctrl.onAnalyticUnitAlertChange(analyticUnit)"
|
||
|
checked="analyticUnit.alert"
|
||
|
/>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|