WebUI : when alert is ongoing hide level

This commit is contained in:
Floran Brutel 2015-10-05 22:41:30 +02:00
parent 4d11fca993
commit 32d90dfb6c

View File

@ -1,7 +1,7 @@
<div class="table">
<div class="table-row" ng-repeat="alert in statsAlert.getAlerts()">
<div class="table-cell text-left">
{{alert.begin | date : 'yyyy-MM-dd H:mm:ss'}} ({{ alert.ongoing ? 'ongoing' : alert.duration }}) - {{alert.level}} on <span class="{{ alert.level | lowercase }}">{{alert.name}}</span> ({{alert.max}})
{{alert.begin | date : 'yyyy-MM-dd H:mm:ss'}} ({{ alert.ongoing ? 'ongoing' : alert.duration }}) - <span ng-hide="alert.ongoing">{{alert.level}} on</span> <span class="{{ alert.level | lowercase }}">{{alert.name}}</span> ({{alert.max}})
</div>
</div>
</div>