{% extends 'atlas/base.html' %}

{% block navigation %}
    {{block.super}}

    
    {% if collection %}
        {% include "atlas/collection_headers.html" %}
    {% endif %}
{% comment %}     Collection: {{collection.name}}-> <a href="{% url 'atlas:collection_detail' pk=exam.pk %}">Overview</a> /
    <a href="{% url 'atlas:collection_mark_overview' exam.pk %}">Mark</a> /
    <a href="{% url 'atlas:collection_scores_cid' exam.pk %}">Scores</a> /
    <a href="{% url 'atlas:exam_cids' exam.pk %}">Candidates</a>
    <div class="floating-header">
        <a href="{% url 'atlas:exam_update' exam.id %}" title="Edit the Collection">Edit</a>
        \ <a href="{% url 'atlas:exam_deleted' exam.id %}" title="Delete the Collection">Delete</a>
        {% if request.user.is_superuser %}
            \ <a href="{% url 'admin:atlas_casecollection_change' exam.id %}" title="Edit the Collection using the admin interface">Admin Edit</a>
        {% endif %}
    </div> {% endcomment %}
{% endblock %}
