{% 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 %}