feat(alertlist): add support for time range lockdown

closes #5981
This commit is contained in:
bergquist
2016-09-16 15:55:38 +02:00
parent 77783c02cd
commit 05d43999dc
2 changed files with 15 additions and 2 deletions

View File

@@ -22,7 +22,14 @@
</div>
<div class="section gf-form-group" ng-if="ctrl.panel.show == 'changes'">
<!-- <h5 class="section-heading">Search options</h5> -->
<h5 class="section-heading">Time options</h5>
<gf-form-switch
class="gf-form"
label="Within time range"
label-class="width-11"
tooltip="Show alert changes within the dashboard time range"
checked="ctrl.panel.useTimeRange"
on-change="ctrl.onRender()"></gf-form-switch>
</div>
<div class="section gf-form-group" ng-if="ctrl.panel.show == 'current'">