From 17271ba41ec4a05a2c053ef237822938b02e3cb4 Mon Sep 17 00:00:00 2001 From: Waldek Date: Wed, 23 Dec 2020 06:50:38 +0100 Subject: [PATCH] did not display "master" when no users are connected --- templates/hblink_table_nogradient.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/templates/hblink_table_nogradient.html b/templates/hblink_table_nogradient.html index ae4c51a..22975e1 100644 --- a/templates/hblink_table_nogradient.html +++ b/templates/hblink_table_nogradient.html @@ -15,7 +15,7 @@ {% for _master in _table['MASTERS'] %} - + {% if _table['MASTERS'][_master]['PEERS']|length >0 %} {{_master}}
{{_table['MASTERS'][_master]['REPEAT']}}
@@ -46,6 +46,7 @@ {% endfor %} + {% endif %} {% endfor %} {% else %} @@ -98,8 +99,8 @@ {{ _openbridge}}
Net ID: {{ _table['OPENBRIDGES'][_openbridge]['NETWORK_ID'] }} - {% for entry in _table['OPENBRIDGES'][_openbridge]['STREAMS'] %}({{ _table['OPENBRIDGES'][_openbridge]['STREAMS'][entry][0] }}: {{ _table['OPENBRIDGES'][_openbridge]['STREAMS'][entry][1] }} >> {{ _table['OPENBRIDGES'][_openbridge]['STREAMS'][entry][2] }}) {% endfor %} - + {% for entry in _table['OPENBRIDGES'][_openbridge]['STREAMS'] %}({{ _table['OPENBRIDGES'][_openbridge]['STREAMS'][entry][0] }}: {{ _table['OPENBRIDGES'][_openbridge]['STREAMS'][entry][1] }} >> {{ _table['OPENBRIDGES'][_openbridge]['STREAMS'][entry][2] }}) {% endfor %} + {% endfor %} {% endif %}