{% extends 'base.html' %} {% load static %} {% load daad_tags %} {% load i18n %} {% block title %}{{ user.get_full_name }}{% endblock %} {% block content %}
{% if user %} {% if user.image %} photo of {{ user.get_academic_name }} {% else %} photo of {{ user_profile.name }} {% endif %}

{{ user.get_academic_name }}

{% for affiliation in user.get_affiliations %} {% if affiliation.main %}

{% else %}

{% endif %} {{ affiliation.position }}, {% if affiliation.website_of_institution %}{{ affiliation.name_of_institution }},{% else %}{{ affiliation.name_of_institution}},{% endif %} {{ affiliation.place_of_institution }} ({{ affiliation.country_of_institution }})

{% endfor %}

{% trans "E-Mail" %}: {{ user.email|urlize }}
{% if user.external_profile %} {% trans "External Profile" %}: {{ user.external_profile }} {% endif %}


{# research profile #} {% include 'user_research_profile.html' %}
{# Button trigger modal and load with project form #} {% if request.user == user %} {% endif %}
{% if user.get_interests %}

{% trans "Research Interests by Topic" %}
{% for interest in user.get_interests %} {{ interest }} {% endfor %}

{% endif %} {% if user.countries.all %}

{% trans "Research Interests by Country" %}
{% for country in user.countries.all %} {{ country }} {% endfor %}

{% endif %}
{% if user.get_projects %}

{% trans "Projects" %}

{% for project in user.get_projects.all %}

{{ project }}

{% endfor %}
{% endif %} {% if user.publications.all %}

{% trans "Publications" %}

{% for publication in user.publications.all %} {% endfor %}
{% endif %} {% if user.dataset_user.all %}

{% trans "Data" %}

{% for dataset in user.dataset_user.all %}

{{ dataset.title }}

{{ dataset.short_description }}... [{% trans "more" %}]
{% endfor %}
{% endif %}
{#
#} {% else %}

{% trans "User not found" %}

{% endif %}
{% endblock %}