.
This commit is contained in:
@@ -16,6 +16,20 @@
|
||||
<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>
|
||||
|
||||
{% 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}}]
|
||||
{% if next %}
|
||||
<a href="{% url 'atlas:collection_case_view' exam.id next %}">Next question</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% include 'atlas/case_display_block.html' %}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
@@ -1384,6 +1384,7 @@ def collection_case_view(request, pk, case_number):
|
||||
{
|
||||
"form": form,
|
||||
"collection": collection,
|
||||
"collection_length": len(collection),
|
||||
"case": case,
|
||||
"series_list": series_list,
|
||||
"case_number": case_number,
|
||||
|
||||
Reference in New Issue
Block a user