Don't show bridges when array entry empty

This commit is contained in:
Waldek 2020-06-29 13:29:01 +02:00 committed by GitHub
parent 8d489fc18b
commit f5551a4bfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,4 @@
{% if _table|length >0 %}
<fieldset style="background-color:#e0e0e0e0;margin-left:15px;margin-right:15px;font-size:14px;border-top-left-radius: 10px; border-top-right-radius: 10px;border-bottom-left-radius: 10px; border-bottom-right-radius: 10px;">
<legend><b><font color="#000">&nbsp;.: Bridge status :.&nbsp;</font></b></legend>
{% for _bridge, _bridge_data in _table.items() %}
@ -38,3 +39,4 @@
</table>
{% endfor %}
</fieldset>
{% endif %}