mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 21:34:25 +00:00
BREAKING CHANGE: avoid using the macro for download button. To keep the UI clean, use always the new "group of action buttons".
8 lines
478 B
Twig
8 lines
478 B
Twig
{%- import "@ChillDocStore/Macro/macro.html.twig" as m -%}
|
|
<div
|
|
data-download-buttons
|
|
data-stored-object="{{ document_json|json_encode|escape('html_attr') }}"
|
|
data-can-edit="{{ can_edit ? '1' : '0' }}"
|
|
{% if options['small'] is defined %}data-button-small="{{ options['small'] ? '1' : '0' }}"{% endif %}
|
|
{% if title|default(document.title)|default(null) is not null %}data-filename="{{ title|default(document.title)|escape('html_attr') }}"{% endif %}></div>
|