{% for term in terminations %}
{{ term.device|linkify }}
{{ term|linkify }}
{% with trace_url=term|viewname:"trace" %}
{% endwith %}
{% if not forloop.last %} {% endif %}
{% endfor %}
{% elif terminations.0.power_panel %}
{# Power feed #}
{% trans "Site" %}
{{ terminations.0.power_panel.site|linkify }}
{% trans "Power Panel" %}
{{ terminations.0.power_panel|linkify }}
{{ terminations.0|meta:"verbose_name"|capfirst }}
{% for term in terminations %}
{{ term|linkify }}
{% with trace_url=term|viewname:"trace" %}
{% endwith %}
{% if not forloop.last %} {% endif %}
{% endfor %}
{% for term in terminations %}
{{ term.circuit|linkify }} ({{ term }})
{% with trace_url=term|viewname:"trace" %}
{% endwith %}
{% if not forloop.last %} {% endif %}
{% endfor %}
{% endif %}
{% else %}
{% trans "No termination" %}
{% endif %}