Admin mode needed for some features
This commit is contained in:
parent
2cf5dbb22e
commit
e6647a6425
4 changed files with 15 additions and 5 deletions
|
|
@ -17,9 +17,12 @@
|
|||
</form>
|
||||
|
||||
<p>
|
||||
Found {{ q.count() }} people matching '{{ search_for }}'
|
||||
{% set count = q.count() %}
|
||||
Found {{ count }} people matching '{{ search_for }}'
|
||||
|
||||
{% if config.ADMIN_MODE and count %}
|
||||
<a href="{{ url_for("merge", q=search_for) }}">merge</a>
|
||||
{% endif %}
|
||||
</p>
|
||||
|
||||
<ul>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue