atst/templates/audit_log.html
2018-09-25 16:03:08 -04:00

34 lines
807 B
HTML

{% extends "base.html" %}
{% block content %}
<section class="block-list">
<header class="block-list__header">
<h1 class="block-list__title">Activity History</h1>
</header>
<ul>
{% for event in audit_events %}
<li class="block-list__item">
<article class='audit-log__item'>
<div class='audit-log__item__timestamp'>
<local-datetime timestamp='{{ event.time_created }}'></local-datetime>
</div>
<div>
<h2 class='h4 audit-log__item__name'>
{{ event.user.full_name if event.user else "ATAT System" }}
</h2>
{{ event.activity_description }}
</div>
</article>
</li>
{% endfor %}
</ul>
</section>
{% endblock %}