From 875744a08aa3828213499d76f0692e6b4a135ad7 Mon Sep 17 00:00:00 2001 From: Ross Date: Sun, 16 Nov 2025 22:51:22 +0000 Subject: [PATCH] Refactor case management links and add case list item partial for improved organization and rendering in collection detail view --- .../atlas/add_case_to_collection.html | 4 +- atlas/templates/atlas/collection_detail.html | 61 ++----------------- .../atlas/partials/case_list_item.html | 27 ++++++++ .../casedetails_management_links.html | 53 +++++++++------- atlas/views.py | 25 +++++++- 5 files changed, 87 insertions(+), 83 deletions(-) create mode 100644 atlas/templates/atlas/partials/case_list_item.html diff --git a/atlas/templates/atlas/add_case_to_collection.html b/atlas/templates/atlas/add_case_to_collection.html index eb5eee15..db5cba63 100644 --- a/atlas/templates/atlas/add_case_to_collection.html +++ b/atlas/templates/atlas/add_case_to_collection.html @@ -1,6 +1,6 @@ This form allows you to add an existing case to the collection. You may find it easier to do this from the individual case pages or the case overview view which allows you to add multiple cases at once. -
+ {% csrf_token %}