Add post-exam display options to CaseCollection model and update template

This commit is contained in:
Ross
2026-04-13 14:07:54 +01:00
parent 90c8f0b60d
commit 5c50ee75da
4 changed files with 54 additions and 1 deletions
@@ -177,6 +177,17 @@
{% endif %}
{% if question_completed %}
{% if collection.show_case_link_post %}
<div class="mb-3">
<a class="btn btn-outline-secondary btn-sm" target="_blank" href="{{ case.get_absolute_url }}">Open case</a>
</div>
{% endif %}
{% if collection.show_findings_post or collection.show_displaysets_post %}
{% include 'atlas/case_display_block.html' %}
{% endif %}
{% if resources %}
<h5>Resources</h4>
<ul class="no-list-style">
@@ -188,7 +199,6 @@
</ul>
{% endif %}
{% endif %}
<form method="POST" class="post-form{% if question_completed %} completed{% endif %}">{% csrf_token %}
{% if collection.collection_type == "QUE" %}