This commit is contained in:
Ross
2022-04-02 22:53:14 +01:00
parent c167650ab4
commit 96f5bf04a8
+3 -6
View File
@@ -3,18 +3,15 @@
{% block content %}
{% if request.user.is_authenticated %}
<div class="floating-header">
<a href="{% url 'atlas:collection_update' pk=collection.pk %}" title="Edit the Collection">Edit</a>
<a href="{% url 'atlas:collection_delete' pk=collection.pk %}" title="Delete the Collection">Delete</a>
</div>
{% endif %}
<a href="{% url 'atlas:collection_update' collection.id %}" title="Edit the Collection">Edit</a>
\ <a href="{% url 'atlas:collection:exam_delete' collection.id %}" title="Delete the Collection">Delete</a>
\ <a href="{% url 'atlas:collection:exam_clone' collection.id %}" title="Clone the Collection">Clone</a>
{% endif %}
{% if request.user.is_superuser %}
\ <a href="{% url 'admin:atlas_collection_change' collection.id %}" title="Edit the Collection using the admin interface">Admin Edit</a>
{% endif %}
</div>
{% endif %}
<h2>{{collection.name}}