Browse Source

"Enable webhooks" when there is no analytic units #122 (#132)

master
sanke1 6 years ago committed by rozetko
parent
commit
3f1b70d546
  1. 5
      src/partials/tab_webhooks.html

5
src/partials/tab_webhooks.html

@ -7,7 +7,12 @@
</div> </div>
<div ng-if="ctrl.analyticsController.serverStatus === true"> <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> <h5>Enable webhooks</h5>
</div>
<div class="editor-row"> <div class="editor-row">
<div class="gf-form" ng-repeat="analyticUnit in ctrl.analyticsController.analyticUnits"> <div class="gf-form" ng-repeat="analyticUnit in ctrl.analyticsController.analyticUnits">
<label class="gf-form-label max-width-15"> {{ analyticUnit.name }} ({{ analyticUnit.type }}) </label> <label class="gf-form-label max-width-15"> {{ analyticUnit.name }} ({{ analyticUnit.type }}) </label>

Loading…
Cancel
Save