1
0
mirror of https://github.com/laurivosandi/certidude synced 2024-12-23 00:25:18 +00:00

Hide tagging UI elements if tagging is disabled

This commit is contained in:
Lauri Võsandi 2017-01-26 22:14:30 +00:00
parent 5d5a24096c
commit 089d6b36b9

View File

@ -39,11 +39,14 @@
#} #}
{% if session.features.tagging %}
<div class="tags"> <div class="tags">
<select class="icon tag" data-cn="{{ certificate.common_name }}" onChange="onNewTagClicked();"> <select class="icon tag" data-cn="{{ certificate.common_name }}" onChange="onNewTagClicked();">
<option value="">Add tag...</option> <option value="">Add tag...</option>
{% include 'views/tagtypes.html' %} {% include 'views/tagtypes.html' %}
</select> </select>
</div> </div>
{% endif %}
<div class="status"></div> <div class="status"></div>
</li> </li>