2019-12-30 16:11:19 +00:00
|
|
|
{% from "macro.html" import render_pagination %}
|
2019-09-29 09:47:55 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div class="p-2">
|
|
|
|
|
2019-12-30 16:11:19 +00:00
|
|
|
<p>This tool has been used to add a total of {{ '{:,d}'.format(pager.total_count) }} depicts statements.</p>
|
2019-09-29 11:23:07 +01:00
|
|
|
|
2019-12-30 16:11:19 +00:00
|
|
|
<p>{{ '{:,d}'.format(user_count) }} users have tried this tool.</p>
|
2019-09-29 11:23:07 +01:00
|
|
|
|
2019-12-30 16:11:19 +00:00
|
|
|
<p>{{ '{:,d}'.format(item_count) }} artworks have been cataloged.</p>
|
2019-09-29 09:47:55 +01:00
|
|
|
|
2019-12-30 16:11:19 +00:00
|
|
|
{{ render_pagination(pager) }}
|
|
|
|
|
|
|
|
<table class="table">
|
2019-09-29 09:47:55 +01:00
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>username</th>
|
2019-11-25 11:49:34 +00:00
|
|
|
<th>artwork</th>
|
2019-09-29 09:47:55 +01:00
|
|
|
<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>
|
2019-09-29 11:51:36 +01:00
|
|
|
<td><a href="{{ url_for('user_page', username=edit.username.replace('_', ' ')) }}">{{ edit.username }}</a></td>
|
2019-11-25 11:49:34 +00:00
|
|
|
<td><a href="{{ url_for('item_page', item_id=edit.artwork_id) }}">{{ edit.artwork.label }}</a>
|
|
|
|
({{ edit.artwork_qid }})
|
|
|
|
<a href="https://www.wikidata.org/wiki/{{ edit.artwork_qid }}">[wikidata]</a>
|
2019-10-07 13:25:10 +01:00
|
|
|
</td>
|
2019-09-29 11:14:05 +01:00
|
|
|
<td><a href="https://www.wikidata.org/wiki/{{ edit.depicts_qid }}">{{ edit.depicts.label }}</a>
|
|
|
|
({{ edit.depicts_qid }})</td>
|
2019-12-30 16:11:19 +00:00
|
|
|
<td class="text-nowrap">{{ edit.timestamp.strftime('%Y %b %d %H:%M') }}</td>
|
2019-09-29 09:47:55 +01:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
2019-12-30 16:11:19 +00:00
|
|
|
{{ render_pagination(pager) }}
|
2019-09-29 09:47:55 +01:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endblock %}
|