mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-01-14 21:31:23 +00:00
OpenWopiLink, option title is maintened (replace button by options)
This commit is contained in:
@@ -2,13 +2,11 @@
|
||||
<span data-module="wopi-link"
|
||||
data-wopi-url="{{ path('chill_wopi_file_edit', {'fileId': document.uuid}) }}"
|
||||
data-doc-type="{{ document.type|e('html_attr') }}"
|
||||
data-button="{{ options|json_encode }}"
|
||||
data-options="{{ options|json_encode }}"
|
||||
></span>
|
||||
|
||||
{{ chill_path_add_return_path('chill_wopi_file_edit', {'fileId': document.uuid}) }}
|
||||
#}
|
||||
|
||||
{# Twig way,
|
||||
{# Twig way
|
||||
TODO: une route, un template avec un header CHILL et un iframe
|
||||
#}
|
||||
<a href="{{ chill_path_add_return_path('chill_wopi_file_edit', {'fileId': document.uuid}) }}"
|
||||
|
||||
Reference in New Issue
Block a user