summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Hennion <nicolashennion@gmail.com>2015-10-07 13:24:47 +0200
committerNicolas Hennion <nicolashennion@gmail.com>2015-10-07 13:24:47 +0200
commit9348409aaa15c6ac0c8cfcbaaec6fea6395c7d09 (patch)
treeb5cd06af79b5c274221a2795e556e83a7098ab5f
parentbd50b5745cea431999df0cc1afb48f25749d8698 (diff)
parent32d90dfb6c10e8afaf08b7300dbfc05b53b2f5e8 (diff)
Merge pull request #692 from notFloran/webui-fix-alert
[WebUI] when alert is ongoing hide level
-rw-r--r--glances/outputs/static/html/plugins/alert.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/glances/outputs/static/html/plugins/alert.html b/glances/outputs/static/html/plugins/alert.html
index 061892a4..f4fe2f2f 100644
--- a/glances/outputs/static/html/plugins/alert.html
+++ b/glances/outputs/static/html/plugins/alert.html
@@ -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>