mirror of
https://github.com/ShaYmez/HBmonitor.git
synced 2024-11-21 23:45:17 -05:00
did not display "master" when no users are connected
This commit is contained in:
parent
8cfb877963
commit
5c413de264
@ -15,7 +15,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
{% for _master in _table['MASTERS'] %}
|
{% for _master in _table['MASTERS'] %}
|
||||||
|
{% if _table['MASTERS'][_master]['PEERS']|length >0 %}
|
||||||
<tr style="background-color:#f9f9f9f9;">
|
<tr style="background-color:#f9f9f9f9;">
|
||||||
<td style="font-weight:bold" rowspan="{{ (_table['MASTERS'][_master]['PEERS']|length * 2) +1 }}"> {{_master}}<br><div style="font: 8pt arial, sans-serif">{{_table['MASTERS'][_master]['REPEAT']}}</div></td>
|
<td style="font-weight:bold" rowspan="{{ (_table['MASTERS'][_master]['PEERS']|length * 2) +1 }}"> {{_master}}<br><div style="font: 8pt arial, sans-serif">{{_table['MASTERS'][_master]['REPEAT']}}</div></td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -47,6 +47,7 @@
|
|||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</table>
|
</table>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
Loading…
Reference in New Issue
Block a user