.
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user