{{#if hasSelectedDocuments}} {{#if permissions.documentMove}}
folder
{{#dropdown-dialog target="move-documents-button" position="bottom right" button="Move" color="flat-blue" onAction=(action 'moveDocuments')}}

Select destination space

    {{#each movedFolderOptions as |folder|}}
  • {{#if folder.selected}} radio_button_checked {{else}} radio_button_unchecked {{/if}}  {{ folder.name }}
  • {{/each}}
{{/dropdown-dialog}} {{/if}} {{#if permissions.documentDelete}}
delete
{{#dropdown-dialog target="delete-documents-button" position="bottom right" button="Delete" color="flat-red" onAction=(action 'deleteDocuments')}}

Are you sure you want to delete selected documents?

There is no undo!

{{/dropdown-dialog}} {{/if}} {{else}} {{#if pinState.isPinned}}
favorite
{{else}}
favorite_border
{{/if}} {{#if permissions.spaceManage}}
{{#link-to 'folder.settings' folder.id folder.slug}}{{model.document.name}}
settings
{{/link-to}} {{/if}} {{#if permissions.spaceOwner}}
delete
{{/if}} {{#unless pinState.isPinned}} {{#dropdown-dialog target="space-pin-button" position="bottom right" button="Pin" color="flat-green" onAction=(action 'onPin') focusOn="pin-space-name" }}
A 3 or 4 character name
{{input type='text' id="pin-space-name" value=pinState.newName}}
{{/dropdown-dialog}} {{/unless}} {{#if permissions.spaceOwner}} {{#dropdown-dialog target="space-delete-button" position="bottom right" button="Delete" color="flat-red" onAction=(action 'deleteSpace')}}

Are you sure you want this space and all associated documents?

Please type the space name to confirm
{{input type='text' id="delete-space-name" value=deleteSpaceName}}
{{/dropdown-dialog}} {{/if}} {{/if}}