From 9867e90769274193e312437a1130ae3c7620de41 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Mon, 7 Oct 2019 13:25:10 +0100 Subject: [PATCH] Link to painting item page. --- templates/list_edits.html | 6 ++++-- templates/user_page.html | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/templates/list_edits.html b/templates/list_edits.html index 3ae6ebe..ebb1064 100644 --- a/templates/list_edits.html +++ b/templates/list_edits.html @@ -22,8 +22,10 @@ {% for edit in edit_list %} {{ edit.username }} - {{ edit.painting.label }} - ({{ edit.painting_qid }}) + {{ edit.painting.label }} + ({{ edit.painting_qid }}) + [wikidata] + {{ edit.depicts.label }} ({{ edit.depicts_qid }}) {{ edit.timestamp.strftime('%Y %b %d %H:%M') }} diff --git a/templates/user_page.html b/templates/user_page.html index f6280cc..cba0ac1 100644 --- a/templates/user_page.html +++ b/templates/user_page.html @@ -20,8 +20,10 @@ {% for edit in edit_list %} - {{ edit.painting.label }} - ({{ edit.painting_qid }}) + {{ edit.painting.label }} + ({{ edit.painting_qid }}) + [wikidata] + {{ edit.depicts.label }} ({{ edit.depicts_qid }}) {{ edit.timestamp.strftime('%Y %b %d %H:%M') }}