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:
parent
166aeba09b
commit
61d0086337
13 changed files with 248 additions and 116 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue