From f29df840c6bdcae4d489d4d6f62cd88ab2435a0d Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 2 Feb 2026 22:15:20 +0000 Subject: [PATCH] Refactor collection detail template to improve display of exam mode and access information --- atlas/templates/atlas/collection_detail.html | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/atlas/templates/atlas/collection_detail.html b/atlas/templates/atlas/collection_detail.html index 4587e883..d33f9830 100644 --- a/atlas/templates/atlas/collection_detail.html +++ b/atlas/templates/atlas/collection_detail.html @@ -21,23 +21,22 @@ {% include 'exam_notes.html' %}

- {{ collection.exam_mode }} - (open access: {{ collection.exam_open_access }})

- {% include "generic/partials/exams/exam_status.html#publish-results" %} - {% include "generic/partials/exams/exam_status.html#exam-active" %} + {% include "generic/partials/exams/exam_status.html#publish-results" %} {% include "generic/partials/exams/exam_status.html#exam-active" %}

- {{ collection.get_collection_type_display }} - Self review: {{ collection.self_review }} + Collection type: {{ collection.get_collection_type_display }} + Self review: {{ collection.self_review }} + Open access: {% if collection.open_access %} Open {% else %} Restricted {% endif %} + Exam mode: {{ collection.exam_mode }}

{% if collection.prerequisites.exists %}