This commit is contained in:
Ross
2021-12-10 22:24:56 +00:00
parent bdc4df35b8
commit 3248380732
+2 -2
View File
@@ -4,11 +4,11 @@
{% load thumbnail %} {% load thumbnail %}
<div class="sbas"> <div class="sbas">
<!-- {% if can_edit %} {% comment %} {% if can_edit %}
<a href="{% url 'sbas:exam_update' exam.id %}" title="Edit the Exam">Edit</a> <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_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 'sbas:exam_clone' exam.id %}" title="Clone the Exam">Clone</a>
{% endif %} --> {% endif %} {% endcomment %}
{% if request.user.is_superuser %} {% 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:sbas_exam_change' exam.id %}" title="Edit the Exam using the admin interface">Admin Edit</a>
{% endif %} {% endif %}