Fix color for open tasks
authorChristian Weiske <cweiske@cweiske.de>
Fri, 21 Apr 2017 16:07:52 +0000 (18:07 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Fri, 21 Apr 2017 16:07:52 +0000 (18:07 +0200)
data/templates/status.htm

index b4cf71d4d783fa6a38e710e62f5cad37e39aa91c..650581834103c34a33e162c6c9cb2ad021c5bcaf 100644 (file)
@@ -31,7 +31,7 @@
    <td style="text-align: right">{{esStatus.size_human}}</td>
   </tr>
 
-  <tr class="{%if 0 > gearStatus.tasks %}warning{%endif%}">
+  <tr class="{%if 0 != gearStatus.tasks %}warning{%endif%}">
    <th rowspan="3">Gearman</th>
    <td>Open tasks</td>
    <td style="text-align: right">{{gearStatus.tasks}}</td>