From cbaf2aae97fa6fd3bc211e256b840ea6fd95325c Mon Sep 17 00:00:00 2001 From: Waldek Date: Thu, 31 Dec 2020 22:27:54 +0100 Subject: [PATCH] Update hblink_table.html --- templates/hblink_table.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/hblink_table.html b/templates/hblink_table.html index 11c3b1f..f690a4b 100644 --- a/templates/hblink_table.html +++ b/templates/hblink_table.html @@ -15,7 +15,7 @@ {% for _master in _table['MASTERS'] %} - {% if _table['MASTERS'][_master]['PEERS']|length >0 %} + {% if ((_table['MASTERS'][_master]['PEERS']|length==0 or _table['MASTERS'][_master]['PEERS']|length>0) and emaster==True) or (_table['MASTERS'][_master]['PEERS']|length>0 and emaster==False) %} {{_master}}
{{_table['MASTERS'][_master]['REPEAT']}}