Sodelujoči

{% for collaborator in collaborators %}
{{collaborator.name}}
{% if collaborator.id in cooperation_history %} {% if cooperation_history[collaborator.id]["coordinator"]|length > 0 %}
Vodenje: {% for item in cooperation_history[collaborator.id]["coordinator"] %} {% if loop.index != 1 %}, {% endif %} {{item[0]}} {% endfor %}
{% endif %} {% if cooperation_history[collaborator.id]["mentor"]|length > 0 %}
Mentorstvo: {% for item in cooperation_history[collaborator.id]["mentor"] %} {% if loop.index != 1 %}, {% endif %} {{item[0]}} {% endfor %}
{% endif %} {% if cooperation_history[collaborator.id]["other"]|length > 0 %}
Drugo: {% for item in cooperation_history[collaborator.id]["other"] %} {% if loop.index != 1 %}, {% endif %} {{item[0]}} {% endfor %}
{% endif %} {% endif %}
{% endfor %}