{% load i18n static utils %}

{{ study.title }}

{% if is_owner %} {% endif %}
{{ study|display:'affiliated_scientists' }} {% if study.project %} · {{ study|display:'project' }} {% endif %} · {{ study|display:'department' }}
{% if study.description %} {{ study|display:'description'|linebreaks|urlize }} {% else %}

{% translate 'No description yet.' %}

{% endif %}
    {% for keyword in study.keyword_set.all %}
  • {{ keyword }}
  • {% endfor %}
{% translate 'Study ID' %}
{{ study }}
{{ study|verbose_name:'created_at' }}
{{ study|display:'created_at' }}
{% if study.aliases %}
{{ study|verbose_name:'aliases' }}
{{ study|display:'aliases' }}
{% endif %}
{{ study|verbose_name:'contact_person' }}
{{ study.contact_person.get_full_name }}
{% if study.storage_location %}
{{ study|verbose_name:'storage_location' }}
{% smb_url_or_unc study.storage_location %} {% if study.storage_archived %}({% translate 'archived' %}){% endif %}
{% elif is_owner and not study.imported_from %}
{{ study|verbose_name:'storage_location' }}
{% translate 'Create' %}
{% endif %} {% if study.ethics_board %}
{{ study|verbose_name:'ethics_board' }}
{{ study|display:'ethics_board' }}
{% endif %} {% if study.link_set.exists %}
{% translate 'Study links' %}
{% for link in study.link_set.all %}
{% if link.type == link.WEBSITE %} {% icon 'home' %} {% elif link.type == link.PREREG %} {% elif link.type == link.DATA %} {% elif link.type == link.CODE %} {% endif %} {{ link|display:'type' }}
{% endfor %} {% endif %}