From 6031159922cdec6c986ce3d448bfdba9fb93d5b2 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 30 Oct 2023 09:25:21 +0000 Subject: [PATCH] add links to condition detail pages --- atlas/templates/atlas/condition_detail.html | 22 ++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/atlas/templates/atlas/condition_detail.html b/atlas/templates/atlas/condition_detail.html index 842219b9..06eebda3 100755 --- a/atlas/templates/atlas/condition_detail.html +++ b/atlas/templates/atlas/condition_detail.html @@ -9,14 +9,30 @@ Delete {% if request.user.is_superuser %} Admin Edit + title="Edit the Condition using the admin interface">Admin Edit {% endif %}

Name: {{condition.name}}

Primary name: {{condition.primary}}
- Synonyms: {{condition.synonym.all|join:", "}}
- Parent: {{condition.parent.all|join:", "}}
+ Synonyms:fyi + {% for syn in condition.synonym.all %} + {{syn}} + {% endfor %}
+ Parent: + {% for parent in condition.parent.all %} + {{parent}} + {% endfor %}
+ RCR condition: {{condition.rcr_curriculum}}
+ + {% if not condition.rcr_curriculum %} + + RCR condition map: + {% for map in condition.rcr_curriculum_map.all %} + {{map}} + {% endfor %}
+ {% endif %} +
{% if condition.case_set.all %}

Associated Cases