{% icon 'user-shield' %}
{{ subject|display:'privacy_level' }}
{% if study and subject.privacy_level > study.members_min_privacy_level %}
{% icon 'warning' label=_('Not all members of this study can access this subject') %}
{% endif %}
{% translate "Reliability" %}
{{ subject|display:'reliability' }}
{# also show not_available_until if it should have been set on legal representatives #}
{% if not subject.is_available and subject.contact.has_legal_representative %}
{% for legal_representative in subject.contact.legal_representatives.all %}
{% has_privacy_level legal_representative.subject.privacy_level user as can_access %}
{% if can_access %}
{% include 'contacts/__contact_detail.html' with contact=legal_representative legal_representative=True %}
{% else %}
{% translate 'Legal representative' %}
{% translate 'insufficient privacy level' %}
{% endif %}
{% empty %}
{% include 'contacts/__contact_detail.html' with contact=subject.contact %}
{% endfor %}