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