diff --git a/atlas/templates/atlas/condition_detail.html b/atlas/templates/atlas/condition_detail.html index a0fa25d5..4e44ee81 100755 --- a/atlas/templates/atlas/condition_detail.html +++ b/atlas/templates/atlas/condition_detail.html @@ -83,6 +83,20 @@ {% endif %} + {# Also include cases that reference this condition via CaseDisplaySet #} + {% if condition.casedisplayset_set.exists %} +
+
+
Cases via Display Sets
+ +
+
+ {% endif %} + {% if condition.differential_set.exists %}
diff --git a/atlas/templates/atlas/finding_detail.html b/atlas/templates/atlas/finding_detail.html index 715f06ad..944e4960 100755 --- a/atlas/templates/atlas/finding_detail.html +++ b/atlas/templates/atlas/finding_detail.html @@ -27,6 +27,16 @@ {% endif %} + {# Also include cases referenced via CaseDisplaySet that list this finding #} + {% if finding.casedisplayset_set.all %} +

Cases via Display Sets

+ + {% endif %} + {% if finding.sbas_questions.all %}

Related SBA Questions

+ {# Include cases referenced via CaseDisplaySet that list this structure #} + {% if structure.casedisplayset_set.all %} +

Cases via Display Sets

+ + {% endif %} + {% if structure.sbas_questions.all %}

Related SBA Questions