{% extends "studies/base.html" %} {% load i18n auth utils %} {% block title %}{{ study }} · {{ block.super }}{% endblock %} {% block breadcrumbs %} {{ block.super }} {% endblock %} {% block header %}

{{ study }}

{{ study|verbose_name:'contact_person' }}: {{ study.contact_person }}

{% has_perm 'studies.change_study' user as can_add_study %} {% has_perm 'studies.access_study' user study as can_access_study %} {% has_perm 'studies.change_study' user study as can_change_study %} {% has_perm 'studies.delete_study' user study as can_delete_study %} {% if can_access_study %} {% if can_change_study %} {% if study.status != study.FINISHED %}
{% csrf_token %} {% if not study.is_onetime_invitation %} {% if study.status == study.EXECUTION %} {% else %} {% endif %} {% endif %}
{% else %} {% if not study.is_onetime_invitation %}
{% if study.previous_status == study.EXECUTION %} {% else %} {% endif %}
{% endif %} {% endif %}
{% csrf_token %} {% if study.status == study.FINISHED %} {% else %} {% endif %}
{% if can_add_study %} {% trans 'Duplicate' %} {% endif %} {% endif %} {% get_enable_study_export as enable_export %} {% if enable_export %} {% trans 'Export' %} {% endif %} {% if study.status == study.FINISHED and can_delete_study %} {% trans 'Delete' %} {% endif %} {% endif %}
{% endblock %}