Added button to create attachments by uploading multiple files

This fixes issue #481
This commit is contained in:
Jan Böhmer 2024-03-02 18:26:50 +01:00
parent f5d53dc305
commit b92553f480
3 changed files with 1477 additions and 1430 deletions

View file

@ -16,6 +16,11 @@
<i class="fas fa-plus-square fa-fw"></i>
{% trans %}attachment.create{% endtrans %}
</button>
<button type="button" class="btn btn-outline-success" {{ stimulus_action('elements/collection_type', 'uploadMultipleFiles') }} {% if part_mode and not is_granted('edit', part) %}disabled{% endif %}>
<i class="fas fa-upload fa-fw"></i>
{% trans %}attachment.upload_multiple_files{% endtrans %}
</button>
</div>
{% endmacro %}