Število oddaj na uporabnika
{% set vars = {'prev_schoolyear': ''} %}
{% for item in cooperation_history %}
{% if item[0] != vars.prev_schoolyear %}
{% if vars.update({'prev_schoolyear': item[0]}) %} {% endif %}
{% endif %}
{% for entry in item[1] %}
{{entry.name}} {%if entry.role == "mentor" %}Mentor/-ica{%elif entry.role == "coordinator" %}Koordinator/-ica{%elif entry.role == "other" %}Druga vloga{%endif%}
{% endfor %}
{% endfor %}