[Pkg-nagios-changes] [SCM] UNNAMED PROJECT branch, debian/master, updated. 810edbdd3feedbfe37f4a65bee50b57b2f60fa2a
Frescha
frescha at unitedseed.de
Tue Feb 28 22:14:39 UTC 2012
The following commit has been merged in the debian/master branch:
commit cee3283e5c51795b0b702f713a49c562ee826c68
Author: Frescha <frescha at unitedseed.de>
Date: Tue Jan 17 20:08:43 2012 +0100
Fix: Performance Data display bug @ mockup, thanks Nap
diff --git a/shinken/webui/plugins/eltdetail/views/eltdetail2.tpl b/shinken/webui/plugins/eltdetail/views/eltdetail2.tpl
index 86419d1..28ad2d6 100644
--- a/shinken/webui/plugins/eltdetail/views/eltdetail2.tpl
+++ b/shinken/webui/plugins/eltdetail/views/eltdetail2.tpl
@@ -163,10 +163,15 @@ Invalid element name
<dt scope="row" class="column1">Status Information</dt>
<dd>{{elt.output}}</dd>
-
+
<dt scope="row" class="column1">Performance Data</dt>
+ %# "If there any perf data?"
+ %if len(elt.perf_data) > 0:
<dd>{{elt.perf_data}}</dd>
-
+ %else:
+ <dd> </dd>
+ %end
+
<dt scope="row" class="column1">Current Attempt</dt>
<dd>{{elt.attempt}}/{{elt.max_check_attempts}} ({{elt.state_type}} state)</dd>
--
UNNAMED PROJECT
More information about the Pkg-nagios-changes
mailing list