fix: remove mark as legitimate if disabled

pull/86/head
Raphaël Vinot 2020-09-01 18:49:11 +02:00
parent 6d22085ceb
commit 1e1a0ae7c9
1 changed files with 2 additions and 0 deletions

View File

@ -101,9 +101,11 @@
<li>
<a href="#screenshotModal" data-toggle="modal" data-target="#screenshotModal" role="button">Show screenshot</a>
</li>
{% if enable_context_by_users %}
<li>
<a href="#/" role="button" onclick="MarkAsLegitimate('{{ tree_uuid }}');">Mark capture as legitimate</a>
</li>
{% endif %}
{% if enable_mail_notification %}
<li>
<a href="#emailModal" data-toggle="modal" data-target="#emailModal" role="button">Notify by mail</a>