Link to painting item page.

This commit is contained in:
Edward Betts 2019-10-07 13:25:10 +01:00
parent 35c6296210
commit 9867e90769
2 changed files with 8 additions and 4 deletions

View file

@ -22,8 +22,10 @@
{% for edit in edit_list %}
<tr>
<td><a href="{{ url_for('user_page', username=edit.username.replace('_', ' ')) }}">{{ edit.username }}</a></td>
<td><a href="https://www.wikidata.org/wiki/{{ edit.painting_qid }}">{{ edit.painting.label }}</a>
({{ edit.painting_qid }})</td>
<td><a href="{{ url_for('item_page', item_id=edit.painting_id) }}">{{ edit.painting.label }}</a>
({{ edit.painting_qid }})
<a href="https://www.wikidata.org/wiki/{{ edit.painting_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>

View file

@ -20,8 +20,10 @@
<tbody>
{% for edit in edit_list %}
<tr>
<td><a href="https://www.wikidata.org/wiki/{{ edit.painting_qid }}">{{ edit.painting.label }}</a>
({{ edit.painting_qid }})</td>
<td><a href="{{ url_for('item_page', item_id=edit.painting_id) }}">{{ edit.painting.label }}</a>
({{ edit.painting_qid }})
<a href="https://www.wikidata.org/wiki/{{ edit.painting_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>