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

{% trans pagetitle %}

{% comment %} {# TODO intercooler.js call with CSRF #}
Click Me!
{% endcomment %}
{% if queryset %}
{% for object in queryset %}
{% 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 %}
{# create a new row after every 3rd item #} {% if forloop.counter|divisibleby:2 %}

{% endif %} {% endfor %}
{% else %}
{% trans "No Resarchers found" %}.
{% endif %}
{% include "countries.html" %}
{% endblock %}