diff --git a/castellum/execution/templates/execution/participation_appointments_form.html b/castellum/execution/templates/execution/participation_appointments_form.html index dec931f4ca639ea4fc7134ebd9c7a529d679480f..3cb340aa655da30c1ece7ec23638be5772cbd837 100644 --- a/castellum/execution/templates/execution/participation_appointments_form.html +++ b/castellum/execution/templates/execution/participation_appointments_form.html @@ -3,7 +3,7 @@ {% block content %} {% if study.session_instructions %} - {{ study.session_instructions|linebreaks }} + {{ study.session_instructions|urlize|linebreaks }} {% endif %}
diff --git a/castellum/execution/templates/execution/participation_criteria.html b/castellum/execution/templates/execution/participation_criteria.html index 4509e34f457620926e1033767f80577c3826f3b8..ec247836118b851d2131e6d586e20ba8da4469f1 100644 --- a/castellum/execution/templates/execution/participation_criteria.html +++ b/castellum/execution/templates/execution/participation_criteria.html @@ -3,16 +3,16 @@ {% block content %} {% if study.exclusion_criteria %} - {{ study.exclusion_criteria|linebreaks }} + {{ study.exclusion_criteria|urlize|linebreaks }} {% endif %} {% for study_type in study.study_type.all %} {% if study_type.exclusion_criteria %}

{{ study_type.label }}

- {{ study_type.exclusion_criteria|linebreaks }} + {{ study_type.exclusion_criteria|urlize|linebreaks }} {% endif %} {% endfor %} {% if general_criteria %}

{% translate 'General criteria' %}

- {{ general_criteria|linebreaks }} + {{ general_criteria|urlize|linebreaks }} {% endif %} {% endblock %} diff --git a/castellum/recruitment/templates/recruitment/contact.html b/castellum/recruitment/templates/recruitment/contact.html index a84d9d6f0f953ebbe368bc932720ee35d5d147f9..72e2c3c1a6876c02298531ba4645a09720ff71d0 100644 --- a/castellum/recruitment/templates/recruitment/contact.html +++ b/castellum/recruitment/templates/recruitment/contact.html @@ -90,7 +90,7 @@
{% if study.recruitment_text %} - {{ study.recruitment_text|linebreaks }} + {{ study.recruitment_text|urlize|linebreaks }} {% endif %}
@@ -119,17 +119,17 @@ {% if study.has_exclusion_criteria %}
{% if study.exclusion_criteria %} - {{ study.exclusion_criteria|linebreaks }} + {{ study.exclusion_criteria|urlize|linebreaks }} {% endif %} {% for study_type in study.study_type.all %} {% if study_type.exclusion_criteria %}

{{ study_type.label }}

- {{ study_type.exclusion_criteria|linebreaks }} + {{ study_type.exclusion_criteria|urlize|linebreaks }} {% endif %} {% endfor %} {% if general_criteria %}

{% translate 'General criteria' %}

- {{ general_criteria|linebreaks }} + {{ general_criteria|urlize|linebreaks }} {% endif %} {% bootstrap_field form.exclusion_criteria_checked %} @@ -139,7 +139,7 @@ {% if can_change_appointment %}
{% if study.session_instructions %} - {{ study.session_instructions|linebreaks }} + {{ study.session_instructions|urlize|linebreaks }} {% endif %}
diff --git a/castellum/studies/templates/studies/study_detail.html b/castellum/studies/templates/studies/study_detail.html index ef87dc9096a74c17d7bb42865977b4ef37f7ce2b..484a5d4c2909543ff7cdaf1b1bc1dd9187639ea8 100644 --- a/castellum/studies/templates/studies/study_detail.html +++ b/castellum/studies/templates/studies/study_detail.html @@ -80,5 +80,5 @@ {% endif %}

{% translate "Description" %}

- {{ study.description|default:'—'|linebreaks }} + {{ study.description|default:'—'|urlize|linebreaks }} {% endblock %} diff --git a/castellum/studies/templates/studies/study_exclusioncriteria.html b/castellum/studies/templates/studies/study_exclusioncriteria.html index 96ced5b81fe01db00b63a562d87eeda9981f9ded..b57eec556868eac6d120c411aa3ded039c2d22a4 100644 --- a/castellum/studies/templates/studies/study_exclusioncriteria.html +++ b/castellum/studies/templates/studies/study_exclusioncriteria.html @@ -14,7 +14,7 @@
{% translate 'General criteria' %}
- {{ general_criteria|linebreaks }} + {{ general_criteria|urlize|linebreaks }}
{% endif %} @@ -24,7 +24,7 @@
{% translate 'Criteria for:' %} {{ study_type.label }}
- {{ study_type.exclusion_criteria|linebreaks }} + {{ study_type.exclusion_criteria|urlize|linebreaks }}
{% endif %}