Add source display to question review and improve wording in review start template

This commit is contained in:
Ross
2025-10-27 12:02:56 +00:00
parent 6e8c86ab10
commit 473efbc8f4
2 changed files with 23 additions and 18 deletions
@@ -104,12 +104,17 @@
{% endif %} {% endif %}
</div> </div>
{% endif %} {% endif %}
</div> </div>
{# Generic feedback text if present #} {# Generic feedback text if present #}
{% if question.feedback %} {% if question.feedback %}
<div class="mt-2"><strong>Feedback:</strong> {{ question.feedback|safe }}</div> <div class="mt-2"><strong>Feedback:</strong> {{ question.feedback|safe }}</div>
{% endif %} {% endif %}
{% if question.source %}
<div class="mt-2"><strong>Source:</strong> {{ question.source|safe }}</div>
{% endif %}
</div> </div>
{% comment %} <span class="btn btn-sm btn-outline-success" data-bs-toggle="modal" data-bs-target="#reviewModal" hx-get="{% url 'sbas:question_set_review' question.pk %}?edit=1&new=1" hx-target="#review-form" hx-swap="innerHTML" hx-trigger="load">Add Review</button> {% endcomment %} {% comment %} <span class="btn btn-sm btn-outline-success" data-bs-toggle="modal" data-bs-target="#reviewModal" hx-get="{% url 'sbas:question_set_review' question.pk %}?edit=1&new=1" hx-target="#review-form" hx-swap="innerHTML" hx-trigger="load">Add Review</button> {% endcomment %}
@@ -6,7 +6,7 @@
<h2>Review Questions</h2> <h2>Review Questions</h2>
<p>Filter questions to review. Choose a category and/or a review status, then click Start to open the first matching question.</p> <p>Filter questions to review. Choose a category and/or a review status, then click Start to open the first matching question that needs reviewing.</p>
<form method="post" action="{% url 'sbas:question_review_next' %}"> <form method="post" action="{% url 'sbas:question_review_next' %}">
{% csrf_token %} {% csrf_token %}