This commit is contained in:
Ross
2021-09-29 19:30:53 +01:00
parent 8c0905d0ff
commit 1b2c8e8b33
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -4,9 +4,9 @@
{% load thumbnail %}
<div class="anatomy">
<a href="{% url 'anatomy:exam_update' exam.id %}" title="Edit the Exam">Edit</a>
<a href="{% url 'anatomy:exam_delete' exam.id %}" title="Delete the Exam">Delete</a>
{% if can_edit %}
<a href="{% url 'anatomy:exam_update' exam.id %}" title="Edit the Exam">Edit</a>
<a href="{% url 'anatomy:exam_delete' exam.id %}" title="Delete the Exam">Delete</a>
<a href="{% url 'anatomy:exam_clone' exam.id %}" title="Clone the Exam">Delete</a>
{% endif %}
{% if request.user.is_superuser %}
+2 -2
View File
@@ -4,10 +4,10 @@
{% load thumbnail %}
<div class="longs">
{% if can_edit %}
<a href="{% url 'longs:exam_update' exam.id %}" title="Edit the Exam">Edit</a>
<a href="{% url 'longs:exam_delete' exam.id %}" title="Delete the Exam">Delete</a>
{% if can_edit %}
<a href="{% url 'longs:exam_clone' exam.id %}" title="Clone the Exam">Delete</a>
<a href="{% url 'longs:exam_clone' exam.id %}" title="Clone the Exam">Delete</a>
{% endif %}
{% if request.user.is_superuser %}
<a href="{% url 'admin:longs_exam_change' exam.id %}" title="Edit the Exam using the admin interface">Admin Edit</a>
+2 -2
View File
@@ -4,9 +4,9 @@
{% load thumbnail %}
<div class="rapids">
<a href="{% url 'rapids:exam_update' exam.id %}" title="Edit the Exam">Edit</a>
<a href="{% url 'rapids:exam_delete' exam.id %}" title="Delete the Exam">Delete</a>
{% if can_edit %}
<a href="{% url 'rapids:exam_update' exam.id %}" title="Edit the Exam">Edit</a>
<a href="{% url 'rapids:exam_delete' exam.id %}" title="Delete the Exam">Delete</a>
<a href="{% url 'rapids:exam_clone' exam.id %}" title="Clone the Exam">Delete</a>
{% endif %}
{% if request.user.is_superuser %}