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

{{ contact.full_name }}

{{ contact.address|default:'—' }}

{% 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 %} {% trans 'Edit contact' %} {% endif %} {% has_perm 'recruitment.change_attributeset' user as can_change_attributeset %} {% if can_change_attributeset %} {% trans "Edit attributes" %} {% endif %} {% trans 'Add to study' %} {% has_perm 'subjects.view_subject' user as can_view_subject %} {% if can_view_subject %} {% trans 'Export' %} {% endif %}
{% endblock %}