diff --git a/atlas/templates/atlas/case_display_block.html b/atlas/templates/atlas/case_display_block.html
index 4d2ae3ee..32392e8f 100755
--- a/atlas/templates/atlas/case_display_block.html
+++ b/atlas/templates/atlas/case_display_block.html
@@ -121,28 +121,34 @@
{% endif %}
-
-
- ID: {{ case.id }}
-
- /
-
- {{ case.created_date|date:"d/m/Y" }}
-
+
+
+ ID: {{ case.id }}
+ /
+ {{ case.created_date|date:"d/m/Y" }}
+
+
+
+ {# Subspecialty badges (preserve any anchor returned by get_link) #}
+ {% if case.subspecialty.all %}
+ {% for sub in case.subspecialty.all %}
+ {{ sub.get_link|safe }}
+ {% endfor %}
+ {% else %}
+ No subspecialty
+ {% endif %}
+
+ {# Pathological process badges #}
+ {% if case.pathological_process.all %}
+ {% for p in case.pathological_process.all %}
+ {{ p.get_link|safe }}
+ {% endfor %}
+ {% endif %}
+
+ {# Diagnostic certainty as a badge #}
+ Diagnostic certainty: {{ case.get_diagnostic_certainty_display }}
+
- Subspecialty:
-
- {% for sub in case.subspecialty.all %}
- - {{sub.get_link}}
- {% endfor %}
-
-
Pathological Process:
-
- {% for p in case.pathological_process.all %}
- - {{p.get_link}}
- {% endfor %}
-
-
Diagnostic certainty: {{case.get_diagnostic_certainty_display}}
Viewer