Skip to content
Snippets Groups Projects
Commit bb17976e authored by James Graham's avatar James Graham
Browse files

Display audit records from template in provenance app

parent 48253bee
No related branches found
No related tags found
No related merge requests found
......@@ -29,23 +29,6 @@
<h4>Records</h4>
<table class="table">
<thead>
<tr>
<th scope="col"></th>
</tr>
</thead>
<tbody>
{% for record in records %}
<tr>
<td>{{ record.to_json }}</td>
</tr>
{% empty %}
<tr>
<td>No records</td>
</tr>
{% endfor %}
</tbody>
</table>
{% include 'prov_entry/include_table.html' with objects=records %}
{% endblock %}
\ No newline at end of file
<table class="table">
<thead>
<tr>
<th scope="col">ID</th>
<th scope="col">Entity</th>
<th scope="col">Agents</th>
<th scope="col">Activity</th>
</tr>
</thead>
<tbody>
{% for object in objects %}
<tr>
<td>{{ object.id }}</td>
<td>{{ object.entity }}</td>
<td>{{ object.agent }}</td>
<td>{{ object.activity }}</td>
</tr>
{% empty %}
<tr>
<td>No records</td>
</tr>
{% endfor %}
</tbody>
</table>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment