Allow admin to access speaker merge
This commit is contained in:
parent
6e50f9ad74
commit
99b180681f
2 changed files with 4 additions and 2 deletions
|
|
@ -20,7 +20,7 @@
|
|||
{% set count = q.count() %}
|
||||
Found {{ count }} people matching '{{ search_for }}'
|
||||
|
||||
{% if config.ADMIN_MODE and count %}
|
||||
{% if is_admin() and count %}
|
||||
<a href="{{ url_for("merge", q=search_for) }}">merge</a>
|
||||
{% endif %}
|
||||
</p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue