{% extends "subjects/subject_base.html" %} {% load i18n bootstrap4 utils auth %} {% block title %}{% trans "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 %} {% trans '(access denied)' %}{% if not forloop.last %},{% endif %} {% endif %} {% endfor %}
{% endif %} {% if subject.contact.guardian_of.exists %}
{% trans '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 %} {% trans '(access denied)' %}{% if not forloop.last %},{% endif %} {% endif %} {% endfor %}
{% endif %}
{% trans 'Subject data registered' %}
{{ subject.created_at }}
{% trans 'Last edited' %}
{{ updated_at }}
{% trans 'Attribute set completeness' %}
{{ attributeset_completeness|default:'—' }}
{% trans "Show up rate" %}
{% if showup_stats %}({% for label, count in showup_stats %}{{ label }}: {{ count }}{% if not forloop.last %}, {% endif %}{% endfor %}){% endif %}

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

{% if not subject.has_legal_basis %}

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

{% endif %}
{% trans 'Recruitment consent' %} {% trans '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 %} {% blocktrans with url=url %}If applicable, set consent status.{% endblocktrans %} {% endif %}
{% trans 'Study consent' %} {% trans '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 %} {% blocktrans with url=url %}If applicable, add to a study.{% endblocktrans %} {% endif %}
{% trans 'Guardianship' %} {% trans '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 %} {% blocktrans with url=url %}If applicable, find or create a subject and set this one as their guardian.{% endblocktrans %} {% endif %}
{% if coverletter_exists %}
{% trans 'Download cover letter' %}
{% endif %} {% endblock %}