Display audit logs for current workspace

This commit is contained in:
Montana
2019-01-07 14:46:41 -05:00
committed by leigh-mil
parent bf22afa7af
commit 3731dd876e
4 changed files with 40 additions and 3 deletions

View File

@@ -1 +0,0 @@
<h1>Activity Log for Workspace {{workspace_name}}</h1>

View File

@@ -0,0 +1,23 @@
{% extends "workspaces/base.html" %}
{% block workspace_content %}
<div v-cloak>
<section class="block-list">
<header class="block-list__header">
<h1 class="block-list__title">{{ "audit_log.header_title" | translate }}</h1>
</header>
<ul>
{% for event in audit_events %}
<li class="block-list__item">
{% autoescape false %}
{{ event | renderAuditEvent }}
{% endautoescape %}
</li>
{% endfor %}
</ul>
</section>
</div>
{% endblock %}