This commit is contained in:
Ross
2021-12-11 11:37:13 +00:00
parent af290ed489
commit c6a22119b8
+4 -4
View File
@@ -5,12 +5,12 @@
{% load thumbnail %}
<div class="physics">
{% if can_edit %}
<a href="{% url 'sbas:exam_update' exam.id %}" title="Edit the Exam">Edit</a>
<a href="{% url 'sbas:exam_delete' exam.id %}" title="Delete the Exam">Delete</a>
<a href="{% url 'sbas:exam_clone' exam.id %}" title="Clone the Exam">Clone</a>
<a href="{% url 'physics:exam_update' exam.id %}" title="Edit the Exam">Edit</a>
<a href="{% url 'physics:exam_delete' exam.id %}" title="Delete the Exam">Delete</a>
<a href="{% url 'physics:exam_clone' exam.id %}" title="Clone the Exam">Clone</a>
{% endif %}
{% if request.user.is_superuser %}
<a href="{% url 'admin:sbas_exam_change' exam.id %}" title="Edit the Exam using the admin interface">Admin Edit</a>
<a href="{% url 'admin:physics_exam_change' exam.id %}" title="Edit the Exam using the admin interface">Admin Edit</a>
{% endif %}
<h1>Exam: {{ exam.name }}</h1>