From 9bda3f22db80afcfd9f005e523146d546ac99d59 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 18 Aug 2025 10:45:02 +0100 Subject: [PATCH] Refactor details elements to use styled-detail class for consistent styling and add empty state message for findings --- atlas/templates/atlas/series_viewer.html | 35 +++++++++++------------- 1 file changed, 16 insertions(+), 19 deletions(-) diff --git a/atlas/templates/atlas/series_viewer.html b/atlas/templates/atlas/series_viewer.html index 8cc05756..1f20800f 100755 --- a/atlas/templates/atlas/series_viewer.html +++ b/atlas/templates/atlas/series_viewer.html @@ -83,13 +83,9 @@ Associated case: {% endif %} -
+
Findings - - - - {% for finding in series.findings.all %}
@@ -122,12 +118,13 @@ Associated case: Delete {% endif %}
- + {% empty %} +

No findings available.

{% endfor %}
{% if can_edit %} -
+
Truncate series

This will limit the series to the selected bounds (the rest of the images will be deleted). This is useful when you have a large volume of which only a small area is relevant to the case. NOTE: once deleted the images cannot be recovered on the site (they would have to be reuploaded if required). Make sure your images are shown in the correct order above and use test the test truncate button first. @@ -149,7 +146,7 @@ Associated case: {% if can_edit %} -

+
Series info