{% load string_manipulation %} {% with module.ports as ports %} {% if ports|length %}
{% if port.object.ifname|length >= ifname_too_long %}
{{ port.object.ifname|shorten_ifname }}
{% else %}
{{ port.object.ifname }}
{% endif %}
{% if port.oplayer %}
{{ port.oplayer }}
{% endif %}
|
{% if ports|length|divisibleby:12 %}
{% if forloop.counter|divisibleby:12 %}