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']}}