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

{% block content %}
    <div class="container">
            <p>
                <a href="{% url 'audit:audit-index' %}">[ index ]</a>
                {% if prev_log %}
                <a href="{% url 'audit:audit-blob' prev_log.pk %}">[ &larr; prev ]</a>
                {% else %}
                <a>[ &larr; prev ]</a>
                {% endif %}
                {% if next_log %}
                <a href="{% url 'audit:audit-blob' next_log.pk %}">[ next &rarr; ]</a>
                {% else %}
                <a>[ next &rarr; ]</a>
                {% endif %}

            </p>

            <p>
                {% if viewing_log %}
                <i class="icon-minus"></i> <a href="{% url 'audit:audit-blob' viewing_log.pk %}">{{ viewing_log.modified_at|date:"r" }}</a> {{ viewing_log.who }}<br/>
                {% endif %}
                {% if prev_log %}
                <i class="icon-plus"></i> <a href="{% url 'audit:audit-blob' prev_log.pk %}">{{ prev_log.modified_at|date:"r" }}</a> {{ prev_log.who }}
                {% endif %}
            </p>

            <pre style="font-size: 8pt;">{{ data }}</pre>
    </div>

{% endblock content %}
