fix: Update case messaging conditionals for clarity and correctness

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
Ross
2026-04-28 21:36:30 +01:00
co-authored by Copilot
parent 64aa2974ee
commit cc100dba89
2 changed files with 20 additions and 20 deletions
@@ -35,7 +35,7 @@
{% if cid_user_exam.completed %}
<div class="mt-1 small">End time: {{ cid_user_exam.end_time|default:"-" }}</div>
{% endif %}
{% if collection.case_query_messaging_enabled and (collection.in_review_mode or cid_user_exam.completed) %}
{% if collection.case_query_messaging_enabled and collection.in_review_mode or collection.case_query_messaging_enabled and cid_user_exam.completed %}
<div class="mt-2">
<a class="btn btn-sm {% if total_outstanding_feedback %}btn-danger{% else %}btn-outline-secondary{% endif %}"
href="{% if cid is not None %}{% url 'atlas:collection_feedback_overview' pk=collection.id cid=cid passcode=passcode %}{% else %}{% url 'atlas:collection_feedback_overview_user' pk=collection.id %}{% endif %}">