From e82b353ad9dbe774c598878b051592c74de5454e Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 27 Apr 2026 10:48:02 +0100 Subject: [PATCH] Enhance case display sets management with HTMX integration and improved UI elements --- .../atlas/partials/_case_displaysets.html | 123 ++++++++++++++---- atlas/views.py | 51 ++++++-- 2 files changed, 138 insertions(+), 36 deletions(-) diff --git a/atlas/templates/atlas/partials/_case_displaysets.html b/atlas/templates/atlas/partials/_case_displaysets.html index 28d16211..aa00ab43 100644 --- a/atlas/templates/atlas/partials/_case_displaysets.html +++ b/atlas/templates/atlas/partials/_case_displaysets.html @@ -1,21 +1,49 @@ {# Partial: Case Display Sets (displaysets) #} +{# Buttons adapt at runtime: if an in-page viewer is present (importAnnotations_main_viewer), #} +{# "View" loads the display set into it; otherwise falls back to the modal viewer. #} +{# An Edit button is shown separately when can_edit is truthy. #}
Case Display Sets