remove normalised scores when not required

This commit is contained in:
Ross
2024-01-08 14:20:22 +00:00
parent 05e551d8e7
commit 39a7076ab2
@@ -53,7 +53,9 @@
<tr>
<th>Candidate ID</th>
<th>Score</th>
<th>Normalised Score</th>
{% if exam.app_name == "longs" or exam.app_name == "rapids" %}
<th>Normalised Score</th>
{% endif %}
</tr>
{% for cid in cids %}
<tr class="candidate-row" data-answer-count={{user_answer_count|get_item:cid}}>
@@ -63,7 +65,10 @@
<td><a href="{% url 'cid_scores_admin' cid|slice:'2:' %}">{{cid}}</a></td>
{% endif %}
<td>{{user_scores|get_item:cid}}</td>
<td>{{user_scores_normalised|get_item:cid}}</td>
{% if exam.app_name == "longs" or exam.app_name == "rapids" %}
<td>{{user_scores_normalised|get_item:cid}}</td>
{% endif %}
</tr>
{% endfor %}
</table>