update filemanager view

This commit is contained in:
Simon Vieille 2021-06-16 18:55:36 +02:00
parent 35d04cc0b6
commit 136105a530
1 changed files with 3 additions and 1 deletions

View File

@ -157,7 +157,9 @@
{% if context == 'tinymce' %}
<div>
<button type="button" class="btn btn-secondary" data-dismiss="modal">{{ 'Close'|trans }}</button>
<button type="button" class="btn btn-primary" id="file-manager-insert" data-value="{{ asset(path) }}">{{ 'Insert'|trans }}</button>
{% if splInfo.isFile %}
<button type="button" class="btn btn-primary" id="file-manager-insert" data-value="{{ asset(path) }}">{{ 'Insert'|trans }}</button>
{% endif %}
</div>
{% else %}
<div>