mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alertlist: Inform when no alerts in current time range
Shows info that no alerts are found for the currently selected interval in Alertlist. Fixes #9624
This commit is contained in:
parent
71d9126bb6
commit
357d394c66
@ -1,6 +1,17 @@
|
||||
<div class="panel-alert-list" style="{{ctrl.contentHeight}}">
|
||||
<section class="card-section card-list-layout-list" ng-if="ctrl.panel.show === 'current'">
|
||||
<ol class="card-list">
|
||||
<li class="card-item-wrapper" ng-show="!ctrl.currentAlerts.length">
|
||||
<div class="alert-list card-item card-item--alert">
|
||||
<div class="alert-list-body">
|
||||
<div class="alert-list-main">
|
||||
<p class="alert-list-title">
|
||||
No alerts in selected interval
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="card-item-wrapper" ng-repeat="alert in ctrl.currentAlerts">
|
||||
<div class="alert-list card-item card-item--alert">
|
||||
<div class="alert-list-body">
|
||||
|
Loading…
Reference in New Issue
Block a user