{% extends "subjects/subject_base.html" %} {% load i18n bootstrap4 utils auth reliability %} {% block title %}{% translate "Subject details" %} · {{ block.super }}{% endblock %} {% block content %} {% if not subject.contact.is_complete or not subject.has_legal_basis %} {% endif %}
{% if subject.contact.guardians.exists %}
{{ subject.contact|verbose_name:'guardians' }}
{% for c in subject.contact.guardians.all %} {% has_privacy_level c.subject.privacy_level user as can_access %} {% if can_access %} {{ c }}{% if not forloop.last %},{% endif %} {% else %} {% translate '(access denied)' %}{% if not forloop.last %},{% endif %} {% endif %} {% endfor %}
{% endif %} {% if subject.contact.guardian_of.exists %}
{% translate 'Guardian of' %}
{% for c in subject.contact.guardian_of.all %} {% has_privacy_level c.subject.privacy_level user as can_access %} {% if can_access %} {{ c }}{% if not forloop.last %},{% endif %} {% else %} {% translate '(access denied)' %}{% if not forloop.last %},{% endif %} {% endif %} {% endfor %}
{% endif %}
{% translate 'Subject data registered' %}
{{ subject.created_at }}
{% translate 'Last edited' %}
{{ updated_at }}
{% translate 'Recruitment attribute completeness' %}
{{ attribute_completeness|default:'—' }}
{% translate "Reliability" %}
{% with summary=subject|reliability_summary %} {% if summary %}({{ summary }}){% endif %} {% endwith %}
{% translate "Drop out rate" %}
{{ dropout_rate }}

{% translate 'Legal basis for data processing' %}

{% if not subject.has_legal_basis %}

{% translate 'Currently there is no legal basis for storing this subject. Please provide at least one of these options.' %}

{% endif %}
{% translate 'Recruitment consent' %} {% translate 'Art. 6 (1) lit. a, Art. 9 (2) lit. a GDPR' %}
{% if subject.has_legal_basis %} {{ subject|display:'has_consent_or_waiting' }} {% else %} {% url 'subjects:data-protection' subject.slug as url %} {% blocktranslate with url=url %}If applicable, set consent status.{% endblocktranslate %} {% endif %}
{% translate 'Study consent' %} {% translate 'Art. 6 (1) lit. a, Art. 9 (2) lit. a GDPR and Art. 27 BDSG' %}
{% if subject.has_legal_basis %} {{ subject|display:'has_study_consent' }} {% else %} {% url 'subjects:add-to-study' subject.slug as url %} {% blocktranslate with url=url %}If applicable, add to a study.{% endblocktranslate %} {% endif %}
{% translate 'Guardianship' %} {% translate 'Art. 6 (1) lit. a, Art. 9 (2) lit. a GDPR and Art. 1626, 1902 BGB' %}
{% if subject.has_legal_basis %} {{ subject.contact|display:'is_guardian' }} {% else %} {% url 'subjects:index' as url %} {% blocktranslate with url=url %}If applicable, find or create a subject and set this one as their guardian.{% endblocktranslate %} {% endif %}
{{ subject|verbose_name:'blocked' }} {% translate 'Art. 6 (1) lit. f GDPR' %}
{% if subject.has_legal_basis %} {{ subject|display:'blocked' }} {% endif %}
{% if coverletter_exists %}
{% translate 'Download cover letter' %}
{% endif %} {% endblock %}