{% load i18n %} {% if people %} {% if role %} {% trans role %}: {% endif %} {% for p in people %} {% if forloop.counter <= max %} {% if not forloop.first %}/{% endif %} {{ p.name }} {% if p.role.strip %}(as {{ p.role }}){% endif %} {% elif forloop.last %} … {% endif %} {% endfor %} {% endif %}