|
|
|
|
|
|
|
|
'<ul>' + |
|
|
'<ul>' + |
|
|
'{{#if isResharingAllowed}} {{#if sharePermissionPossible}} {{#unless isMailShare}}' + |
|
|
'{{#if isResharingAllowed}} {{#if sharePermissionPossible}} {{#unless isMailShare}}' + |
|
|
'<li>' + |
|
|
'<li>' + |
|
|
'<span class="shareOption">' + |
|
|
|
|
|
|
|
|
'<span class="shareOption menuitem">' + |
|
|
'<input id="canShare-{{cid}}-{{shareWith}}" type="checkbox" name="share" class="permissions checkbox" {{#if hasSharePermission}}checked="checked"{{/if}} data-permissions="{{sharePermission}}" />' + |
|
|
'<input id="canShare-{{cid}}-{{shareWith}}" type="checkbox" name="share" class="permissions checkbox" {{#if hasSharePermission}}checked="checked"{{/if}} data-permissions="{{sharePermission}}" />' + |
|
|
'<label for="canShare-{{cid}}-{{shareWith}}">{{canShareLabel}}</label>' + |
|
|
'<label for="canShare-{{cid}}-{{shareWith}}">{{canShareLabel}}</label>' + |
|
|
'</span>' + |
|
|
'</span>' + |
|
|
|
|
|
|
|
|
'{{#if isFolder}}' + |
|
|
'{{#if isFolder}}' + |
|
|
'{{#if createPermissionPossible}}{{#unless isMailShare}}' + |
|
|
'{{#if createPermissionPossible}}{{#unless isMailShare}}' + |
|
|
'<li>' + |
|
|
'<li>' + |
|
|
'<span class="shareOption">' + |
|
|
|
|
|
|
|
|
'<span class="shareOption menuitem">' + |
|
|
'<input id="canCreate-{{cid}}-{{shareWith}}" type="checkbox" name="create" class="permissions checkbox" {{#if hasCreatePermission}}checked="checked"{{/if}} data-permissions="{{createPermission}}"/>' + |
|
|
'<input id="canCreate-{{cid}}-{{shareWith}}" type="checkbox" name="create" class="permissions checkbox" {{#if hasCreatePermission}}checked="checked"{{/if}} data-permissions="{{createPermission}}"/>' + |
|
|
'<label for="canCreate-{{cid}}-{{shareWith}}">{{createPermissionLabel}}</label>' + |
|
|
'<label for="canCreate-{{cid}}-{{shareWith}}">{{createPermissionLabel}}</label>' + |
|
|
'</span>' + |
|
|
'</span>' + |
|
|
|
|
|
|
|
|
'{{/unless}}{{/if}}' + |
|
|
'{{/unless}}{{/if}}' + |
|
|
'{{#if updatePermissionPossible}}{{#unless isMailShare}}' + |
|
|
'{{#if updatePermissionPossible}}{{#unless isMailShare}}' + |
|
|
'<li>' + |
|
|
'<li>' + |
|
|
'<span class="shareOption">' + |
|
|
|
|
|
|
|
|
'<span class="shareOption menuitem">' + |
|
|
'<input id="canUpdate-{{cid}}-{{shareWith}}" type="checkbox" name="update" class="permissions checkbox" {{#if hasUpdatePermission}}checked="checked"{{/if}} data-permissions="{{updatePermission}}"/>' + |
|
|
'<input id="canUpdate-{{cid}}-{{shareWith}}" type="checkbox" name="update" class="permissions checkbox" {{#if hasUpdatePermission}}checked="checked"{{/if}} data-permissions="{{updatePermission}}"/>' + |
|
|
'<label for="canUpdate-{{cid}}-{{shareWith}}">{{updatePermissionLabel}}</label>' + |
|
|
'<label for="canUpdate-{{cid}}-{{shareWith}}">{{updatePermissionLabel}}</label>' + |
|
|
'</span>' + |
|
|
'</span>' + |
|
|
|
|
|
|
|
|
'{{/unless}}{{/if}}' + |
|
|
'{{/unless}}{{/if}}' + |
|
|
'{{#if deletePermissionPossible}}{{#unless isMailShare}}' + |
|
|
'{{#if deletePermissionPossible}}{{#unless isMailShare}}' + |
|
|
'<li>' + |
|
|
'<li>' + |
|
|
'<span class="shareOption">' + |
|
|
|
|
|
|
|
|
'<span class="shareOption menuitem">' + |
|
|
'<input id="canDelete-{{cid}}-{{shareWith}}" type="checkbox" name="delete" class="permissions checkbox" {{#if hasDeletePermission}}checked="checked"{{/if}} data-permissions="{{deletePermission}}"/>' + |
|
|
'<input id="canDelete-{{cid}}-{{shareWith}}" type="checkbox" name="delete" class="permissions checkbox" {{#if hasDeletePermission}}checked="checked"{{/if}} data-permissions="{{deletePermission}}"/>' + |
|
|
'<label for="canDelete-{{cid}}-{{shareWith}}">{{deletePermissionLabel}}</label>' + |
|
|
'<label for="canDelete-{{cid}}-{{shareWith}}">{{deletePermissionLabel}}</label>' + |
|
|
'</span>' + |
|
|
'</span>' + |