From 6bc43135b9ea1114eeeea435ec0ac35af0e17760 Mon Sep 17 00:00:00 2001 From: Ross Date: Thu, 30 Oct 2025 21:31:53 +0000 Subject: [PATCH] Refactor question link header for improved layout and button styling --- .../templates/atlas/question_link_header.html | 61 +++++++++++-------- 1 file changed, 34 insertions(+), 27 deletions(-) diff --git a/atlas/templates/atlas/question_link_header.html b/atlas/templates/atlas/question_link_header.html index 32a4b320..246b44c3 100644 --- a/atlas/templates/atlas/question_link_header.html +++ b/atlas/templates/atlas/question_link_header.html @@ -1,32 +1,39 @@ -
- View - Edit - Series - Display Sets - Clone - Delete - Add - Note - Authors - {% if request.user.is_superuser %} - Admin Edit - {% endif %} +
+ {% if collection %} -
- Collection:Case details - {% include "atlas/collection_detail.html#casedetails-management-links" %} -
-
- {% if previous %} - Previous question - {% endif %} - Viewing question as part of collection: {{collection.name}} [{{case_number|add:1}}/{{collection_length}}] - {% if next %} - Next question - {% endif %} +
+
Collection
+
+ {% include "atlas/collection_detail.html#casedetails-management-links" %} +
+
+ {% if previous %} + Previous + {% endif %} + Viewing question as part of a collection: {{ collection.name }} + [{{ case_number|add:1 }} / {{ collection_length }}] + {% if next %} + Next + {% endif %} +
{% endif %}