1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-02 03:55:24 +02:00

Provide per section attachments

Upload and delete attachments on a per section basis.
This commit is contained in:
Harvey Kandola 2019-04-18 13:31:48 +01:00
parent 166aeba09b
commit 61d0086337
13 changed files with 248 additions and 116 deletions

View file

@ -6,6 +6,7 @@
folder=folder
page=editPage
meta=editMeta
attachments=attachments
onCancel=(action "onCancelEdit")
onAction=(action "onSavePage")}}
</div>
@ -35,4 +36,9 @@
{{section/base-renderer page=page}}
</div>
{{/if}}
{{document/section-attachment uploadLabel="Upload Attachments"
editMode=editMode page=page document=document files=attachments
onAttachmentUpload=(action onAttachmentUpload)
onAttachmentDelete=(action onAttachmentDelete)}}
</div>