{% extends 'base.html' %} {% load static %} {% load daad_tags %} {% load i18n %} {% block title %}{% trans "Researchers" %}{% endblock %} {% block content %}

{% trans pagetitle %}

{% comment %} {# TODO intercooler.js call with CSRF #}
Click Me!
{% endcomment %} {% comment %}
{% csrf_token %}
{% for country in countries %} {% endfor %}

{% endcomment %}
{% if users %}
{% if pagination %}
{% endif %}
{% for object in users %}
{% if object.image %} {% else %} {% endif %}

{{object.get_academic_name}}

{% for affiliation in object.get_main_affiliation %} {% if affiliation.main %}

{{ affiliation.position }}, {{ affiliation.name_of_institution }}, {{ affiliation.place_of_institution }} ({{ affiliation.country_of_institution }})

{% endif %} {% endfor %}
{% comment %} {% if forloop.last %}
{% endif %} {% endcomment %}
{# create a new row after every 3rd item #} {% if forloop.counter|divisibleby:2 %}

{% endif %} {% endfor %}
{% else %}
{% trans "No Resarchers found" %}.
{% endif %}

{% trans "All countries" %}

{% for c in countries %} {% if c.slug != country %}

{% trans c.name %}

{% else %}

{{ country|capfirst }}

{% endif %} {% endfor %} {# {% include "countries.html" %} #}
{% endblock %}