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> <li>
<a href="#screenshotModal" data-toggle="modal" data-target="#screenshotModal" role="button">Show screenshot</a> <a href="#screenshotModal" data-toggle="modal" data-target="#screenshotModal" role="button">Show screenshot</a>
</li> </li>
{% if enable_context_by_users %}
<li> <li>
<a href="#/" role="button" onclick="MarkAsLegitimate('{{ tree_uuid }}');">Mark capture as legitimate</a> <a href="#/" role="button" onclick="MarkAsLegitimate('{{ tree_uuid }}');">Mark capture as legitimate</a>
</li> </li>
{% endif %}
{% if enable_mail_notification %} {% if enable_mail_notification %}
<li> <li>
<a href="#emailModal" data-toggle="modal" data-target="#emailModal" role="button">Notify by mail</a> <a href="#emailModal" data-toggle="modal" data-target="#emailModal" role="button">Notify by mail</a>