{% extends "layout.html" %}
{% load i18n %}

{% block title %}
    {% trans "Audit Viewer" %}
{% endblock %}

{% block content %}
    <div class="module">
        <div class="span-6 last">
        <h2>Website Usage</h2>
        </div>
        <div class="span-24 last">
            <table>
            <thead>
            <tr><td>User</td><td>Event</td><td>Date</td></tr>
            </thead>
                {% for i in auditEvents %}
                	{% ifequal i.class "AccessAudit" %}
                    <tr>
                        <td>{{ i.user }}</td>
                        <td>{{ i.access_type }}</td>
                        <td>{{ i.date }}</td>
                    </tr>
                    {% endifequal %}
                {% endfor %}
            </table>
        </div>
    </div>
{% endblock %}

{% extends base_template %}
{% load i18n %}

{% block title %}
    {% trans "Audit Viewer" %}
{% endblock %}

{% block content %}
    <div class="module">
        <div class="span-6 last">
        <h2>Website Usage</h2>
        </div>
        <div class="span-24 last">
            <table>
            <thead>
            <tr><td>User</td><td>Event</td><td>Date</td></tr>
            </thead>
                {% for i in auditEvents %}
                	{% ifequal i.class "AccessAudit" %}
                    <tr>
                        <td>{{ i.user }}</td>
                        <td>{{ i.access_type }}</td>
                        <td>{{ i.date }}</td>
                    </tr>
                    {% endifequal %}
                {% endfor %}
            </table>
        </div>
    </div>
{% endblock %}
Revert "change base_template to 'layout.html' for rapidsms compatibility"
Revert "change base_template to 'layout.html' for rapidsms compatibility"

This reverts commit 86e50c1ac6f710b62c7faee7a9617af316fe907a.
