1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 07:39:43 +02:00
documize/gui/app/pods/document/section/template.hbs
McMatts c65eb97948 Show jump list to other space documents
Closes #219

Jump to documents within space when viewing a document.
2019-05-24 15:08:54 +01:00

27 lines
904 B
Handlebars

<Layout::MasterNavigation />
<Layout::MasterToolbar>
<div class="zone-1">
{{#ui/ui-toolbar dark=false light=false raised=false large=false bordered=false}}
{{ui/ui-toolbar-button themed=true uppercase=false
icon=constants.Icon.ArrowLeft label=model.document.name onClick=(action "onCancel")}}
{{/ui/ui-toolbar}}
</div>
<div class="zone-2" />
<div class="zone-3" />
</Layout::MasterToolbar>
<Layout::Container>
{{document/document-editor
document=model.document
folder=model.folder
page=model.page
meta=model.meta
attachments=model.attachments
onCancel=(action "onCancel") onAction=(action "onAction")}}
{{document/section-attachment uploadLabel="Upload Attachments"
editMode=true page=model.page document=model.document
files=model.attachments
onAttachmentUpload=(action "onAttachmentUpload")
onAttachmentDelete=(action "onAttachmentDelete")}}
</Layout::Container>