did not display "master" when no users are connected

This commit is contained in:
Waldek 2020-12-23 06:46:16 +01:00 committed by GitHub
parent 8cfb877963
commit 5c413de264
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -15,7 +15,7 @@
</tr>
{% for _master in _table['MASTERS'] %}
{% if _table['MASTERS'][_master]['PEERS']|length >0 %}
<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>
</tr>
@ -47,6 +47,7 @@
</tr>
{% endfor %}
{% endif %}
{% endfor %}
</table>
{% else %}