depicts/templates/list_edits.html

33 lines
674 B
HTML
Raw Normal View History

2019-09-29 09:47:55 +01:00
{% extends "base.html" %}
{% block content %}
<div class="p-2">
<p>This tool has been used to save {{ edits.count() }} edits.</p>
<table class="table w-auto">
<thead>
<tr>
<th>username</th>
<th>painting</th>
<th>depicts</th>
2019-09-29 09:56:14 +01:00
<th>when</th>
2019-09-29 09:47:55 +01:00
</tr>
</thead>
<tbody>
2019-09-29 09:56:14 +01:00
{% for edit in edit_list %}
2019-09-29 09:47:55 +01:00
<tr>
<td><a href="{{ edit.user_page_url }}">{{ edit.username }}</a></td>
<td>{{ edit.painting_qid }}</td>
2019-09-29 09:56:14 +01:00
<td>{{ depicts_items[edit.depicts_id].label }} ({{ edit.depicts_qid }})</td>
2019-09-29 09:47:55 +01:00
<td>{{ edit.timestamp }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% endblock %}