Add post-exam display options to CaseCollection model and update template
This commit is contained in:
@@ -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" %}
|
||||
|
||||
Reference in New Issue
Block a user