.
This commit is contained in:
@@ -15,7 +15,6 @@
|
|||||||
{% if request.user.is_superuser %}
|
{% 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>
|
<a href="{% url 'admin:atlas_case_change' case.id %}" title="Edit the Case using the admin interface">Admin Edit</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
|
||||||
|
|
||||||
{% if collection %}
|
{% if collection %}
|
||||||
<div>
|
<div>
|
||||||
@@ -23,12 +22,14 @@
|
|||||||
{% if previous %}
|
{% if previous %}
|
||||||
<a href="{% url 'atlas:collection_case_view' exam.id previous %}">Previous question</a>
|
<a href="{% url 'atlas:collection_case_view' exam.id previous %}">Previous question</a>
|
||||||
{% endif %}
|
{% 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 %}
|
{% if next %}
|
||||||
<a href="{% url 'atlas:collection_case_view' exam.id next %}">Next question</a>
|
<a href="{% url 'atlas:collection_case_view' exam.id next %}">Next question</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
{% include 'atlas/case_display_block.html' %}
|
{% include 'atlas/case_display_block.html' %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user