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.
17 lines
710 B
17 lines
710 B
<div ng-if="ctrl.analyticsController.serverStatus === true"> |
|
<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> |
|
<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" |
|
></gf-form-switch> |
|
</div> |
|
</div> |
|
</div>
|
|
|