depicts/templates/user_page.html
Edward Betts 036a4be5ed Expand focus from paintings to more artworks
Replace all references to 'painting' with 'artwork'
2019-11-25 11:49:34 +00:00

39 lines
948 B
HTML

{% extends "base.html" %}
{% block content %}
<div class="p-2">
<h1>{{ username }}</h1>
<p>This user has added a total of {{ edits.count() }} depicts statements.</p>
<p>{{ item_count }} artworks have been cataloged.</p>
<table class="table w-auto">
<thead>
<tr>
<th>artwork</th>
<th>depicts</th>
<th>when</th>
</tr>
</thead>
<tbody>
{% for edit in edit_list %}
<tr>
<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>
</td>
<td><a href="https://www.wikidata.org/wiki/{{ edit.depicts_qid }}">{{ edit.depicts.label }}</a>
({{ edit.depicts_qid }})</td>
<td>{{ edit.timestamp.strftime('%Y %b %d %H:%M') }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% endblock %}