{% extends "subjects/base.html" %} {% load i18n bootstrap4 utils auth %} {% block title %}{% trans "Subject details" %} · {{ block.super }}{% endblock %} {% block content %}

{{ contact.full_name }}

{{ contact|display:'address' }}

{% if not contact_data_full or not subject_data_full %} {% endif %}
{% trans 'Subject data registered' %}
{{ subject.created_at }}
{% trans 'Last edited' %}
{{ updated_at }}
{% trans 'Castellum consent' %}
{% if subject.consent %} {{ subject.consent.type }} {% if not subject.consent.revision.is_current %} ({% trans "outdated" %}) {% endif %} {% if subject.consent.status == "waiting" %} ({{ subject.consent.get_status_display }}) {% endif %} {% else %} — {% endif %}
{% trans 'Attribute set completeness' %}
{{ attributeset_completeness|default:'—' }}
{% has_perm 'contacts.change_contact' user as can_change_contact %} {% if can_change_contact %} {% if not contact_data_full %} {% endif %} {% trans 'Edit contact' %} {% endif %} {% has_perm 'subjects.change_subject' user as can_change_subject %} {% if can_change_subject %} {% if not subject_data_full %} {% endif %} {% trans 'Edit subject' %} {% endif %} {% has_perm 'recruitment.change_attributeset' user as can_change_attributeset %} {% if can_change_attributeset %} {% trans "Edit attributes" %} {% endif %} {% trans "Study Participation" %} {% trans 'Add to study' %} {% has_perm 'subjects.view_subject' user as can_view_subject %} {% if can_view_subject %} {% trans 'Export' %} {% endif %}
{% endblock %}