{% if hosts %}
{% for host in hosts %} {{ host.name }}
{{ host.assigned_ip|default:"Not assigned" }} {% if host.assigned_ip %} {% endif %}
{% if host.is_lighthouse %} Lighthouse {% endif %} {% if host.is_relay %} Relay {% endif %} {% if host.last_config_refresh %} {{ host.last_config_refresh|default:"Never" }} {% else %} Never {% endif %} {% if host.config_freeze %} Manual {% else %} Auto {% endif %} {% if host.is_ephemeral %} Yes {% else %} No {% endif %} {% endfor %}
{% else %} {% endif %}