This commit is contained in:
Ross
2022-04-08 23:22:49 +01:00
parent ccae69faab
commit 5cd3f0aad2
+3 -2
View File
@@ -15,7 +15,6 @@
{% if request.user.is_superuser %}
<a href="{% url 'admin:atlas_case_change' case.id %}" title="Edit the Case using the admin interface">Admin Edit</a>
{% endif %}
</div>
{% if collection %}
<div>
@@ -23,12 +22,14 @@
{% if previous %}
<a href="{% url 'atlas:collection_case_view' exam.id previous %}">Previous question</a>
{% endif %}
Viewing question as part of collection: {{collection.name}} [{{pos}}/{{collection_length}}]
Viewing question as part of collection: {{collection.name}} [{{case_number|add:1}}/{{collection_length}}]
{% if next %}
<a href="{% url 'atlas:collection_case_view' exam.id next %}">Next question</a>
{% endif %}
</div>
{% endif %}
</div>
{% include 'atlas/case_display_block.html' %}
{% endblock %}