Fix color for open tasks
[phinde.git] / 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>