{% import "_macros.html" as ui %} {%- if c.key == 'status' -%} {%- if m.status == 'active' %}Active {%- elif m.status == 'maintenance' %}Maintenance {%- else %}Retired{% endif -%} {%- elif c.key == 'availability' -%}{{ ui.availability(row) }} {%- elif c.key == 'health' -%}{{ ui.health(m) }} {%- elif c.key == 'firewall' -%}{{ ui.firewall(m) }} {%- endif -%}