From e9716f3cafaa9ab7b6765751dfd55fb200da309c Mon Sep 17 00:00:00 2001 From: Ross Date: Sun, 16 Nov 2025 22:01:30 +0000 Subject: [PATCH] Add per-case management links template for collection detail view --- .../casedetails_management_links.html | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 atlas/templates/atlas/partials/casedetails_management_links.html diff --git a/atlas/templates/atlas/partials/casedetails_management_links.html b/atlas/templates/atlas/partials/casedetails_management_links.html new file mode 100644 index 00000000..fea0333e --- /dev/null +++ b/atlas/templates/atlas/partials/casedetails_management_links.html @@ -0,0 +1,26 @@ +{# Partial: per-case management links shown on collection detail case list. + Expects variables available from parent loop: casedetail, collection, forloop + Keep markup minimal and safe — icons use Bootstrap Icons classes if available. #} + + + View + + + + Details + + + {% if casedetail.case.series.count > 0 %} + + Series ({{ casedetail.case.series.count }}) + + {% else %} + No series + {% endif %} + + {% if can_edit %} + + Add series + + {% endif %} +