{{#if permissions.documentEdit}}
mode_edit
{{#if hasMenuPermissions}} {{#dropdown-menu target=menuTarget position="top right" open="click" onOpenCallback=(action 'onMenuOpen') onCloseCallback=(action 'onMenuOpen')}} {{/dropdown-menu}} {{/if}} {{#if menuOpen}} {{#if permissions.documentDelete}} {{#dropdown-dialog target=deleteButtonId position="bottom right" button="Delete" color="flat-red" onAction=(action 'deletePage')}}

Are you sure you want to delete {{page.title}}?

{{input type="checkbox" id=checkId class="margin-left-20" checked=deleteChildren}}

{{/dropdown-dialog}} {{/if}} {{#if permissions.documentTemplate}} {{#dropdown-dialog id=publishDialogId target=publishButtonId position="bottom right" button="Publish" color="flat-green" focusOn=blockTitleId onAction=(action 'onSavePageAsBlock')}}
{{folder.name}}: Content Block
Short title for reusable content block
{{input type="text" value=blockTitle id=blockTitleId}}
Short description to help others understand
the reusable content block
{{textarea rows="3" value=blockExcerpt id=blockExcerptId}}
{{/dropdown-dialog}} {{/if}} {{#if permissions.documentCopy}} {{#dropdown-dialog id=copyDialogId target=copyButtonId position="bottom right" button="Copy" color="flat-green" onOpenCallback=(action 'onCopyDialogOpen') onAction=(action 'onCopyPage')}}
Copy: {{page.title}}
Select where the content should be copied to
{{ui-select cssClass="dropdown-page-toolbar" content=documentList action=(action 'onTargetChange') optionValuePath="id" optionLabelPath="name" selection=document}}
{{/dropdown-dialog}} {{/if}} {{#if permissions.documentMove}} {{#dropdown-dialog id=moveDialogId target=moveButtonId position="bottom right" button="Move" color="flat-green" onOpenCallback=(action 'onCopyDialogOpen') onAction=(action 'onMovePage')}}
Move: {{page.title}}
Select where the content should be moved to
{{ui-select cssClass="dropdown-page-toolbar" content=documentListOthers action=(action 'onTargetChange') optionValuePath="id" optionLabelPath="name"}}
{{/dropdown-dialog}} {{/if}} {{/if}} {{/if}}