Add admin mode
This commit is contained in:
parent
0ccaebe418
commit
cc32b0459d
3 changed files with 38 additions and 2 deletions
|
|
@ -45,7 +45,7 @@
|
|||
{% endif %}
|
||||
</p>
|
||||
|
||||
{% if config.ADMIN_MODE %}
|
||||
{% if is_admin() %}
|
||||
{% set search_for = item.name + ' ' + " haswbstatement:P31=Q5" %}
|
||||
<p><a href="https://www.wikidata.org/w/index.php?search={{ search_for | urlencode }}&title=Special%3ASearch&ns0=1&ns120=1">Search for {{ item.name }} on Wikidata</a></p>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue