audit log markup
This commit is contained in:
parent
155ee1c21d
commit
d87f2b17ed
@ -3,20 +3,31 @@
|
|||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
|
|
||||||
<div class="panel">
|
|
||||||
<section class="block-list">
|
<section class="block-list">
|
||||||
<header class="block-list__header">
|
<header class="block-list__header">
|
||||||
<h1 class="block-list__title">Acitivity History</h1>
|
<h1 class="block-list__title">Activity History</h1>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
{% for event in audit_events %}
|
{% for event in audit_events %}
|
||||||
<li class="block-list__item">{{ event }}</li>
|
<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 %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user