{% if form.cleaned_data.display == 'calendar' %}
{% else %}
{% for study in object_list %}
{{ study.name }}
{% if study.contact_person %}
{{ study.contact_person }}
{% endif %}
{% if study.status == study.FINISHED %}
{% trans 'Finished' %}
{% endif %}
{% has_perm 'studies.access_study' user study as can_access %}
{% if can_access and study.status == study.EXECUTION %}
{% has_perm 'recruitment.recruit' user study as can_recruit %}
{% if can_recruit %}
{% trans 'Recruitment' %}
{% endif %}
{% has_perm 'recruitment.conduct_study' user study as can_conduct %}
{% if can_conduct %}
{% trans 'Execution' %}
{% endif %}
{% endif %}
{% has_perm 'studies.view_study' user study as can_view_study %}
{% if can_view_study %}
{% trans 'Details' %}
{% endif %}
{% empty %}
{% if q %}
{% trans 'No results found.' %}
{% else %}
{% if request.GET.member == 'all' %}
{% trans 'No studies' %}
{% else %}
{% trans 'No personal studies' %}
{% endif %}
{% endif %}
{% endfor %}
{% if is_paginated %}
{% endif %}
{% endif %}
{% has_perm 'studies.change_study' user as can_add_study %}
{% if can_add_study %}
{% get_enable_study_export as enable_export %}
{% if enable_export %}
{% trans "Import study" %}
{% endif %}
{% trans "Create new study" %}
{% endif %}