diff --git a/app.py b/app.py index b42d4b9..25a1fd9 100755 --- a/app.py +++ b/app.py @@ -410,6 +410,7 @@ def item_page(item_id): catalog_detail=catalog_detail, labels=find_more_props, entity=item.entity, + username=get_username(), label=label, image=image, other=other, diff --git a/templates/item.html b/templates/item.html index 040c739..dfdb11e 100644 --- a/templates/item.html +++ b/templates/item.html @@ -84,6 +84,14 @@ + {% if not username %} + +

Connect with Wikidata + {% endif %} + + {% if username %}

{% raw %}
@@ -129,6 +137,7 @@
{% endraw %}
+ {% endif %}