diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2016-11-25 15:38:49 +0100 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2016-11-28 11:24:05 +0100 |
commit | e5c31b72e17015283b75f75b641cf542827ec66c (patch) | |
tree | 72fdf3a352a8a1d91a6c7dd2344d404271b05691 /core/js | |
parent | 46b4891bd7da4e1abcea90966958bbd23def3f45 (diff) | |
download | nextcloud-server-e5c31b72e17015283b75f75b641cf542827ec66c.tar.gz nextcloud-server-e5c31b72e17015283b75f75b641cf542827ec66c.zip |
bring back permissions for mail shares
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/sharedialogshareelistview.js | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/core/js/sharedialogshareelistview.js b/core/js/sharedialogshareelistview.js index 96bbf94fa1c..89368955a38 100644 --- a/core/js/sharedialogshareelistview.js +++ b/core/js/sharedialogshareelistview.js @@ -34,7 +34,6 @@ '</span>' + '{{/unless}}' + '{{/if}}' + - '{{#unless isMailShare}}' + '<a href="#"><span class="icon icon-more"></span></a>' + '<div class="popovermenu bubble hidden menu">' + '<ul>' + @@ -47,37 +46,36 @@ '</li>' + '{{/unless}} {{/if}} {{/if}}' + '{{#if isFolder}}' + - '{{#if createPermissionPossible}}' + + '{{#if createPermissionPossible}}{{#unless isMailShare}}' + '<li>' + '<span class="shareOption">' + '<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>' + '</span>' + '</li>' + - '{{/if}}' + - '{{#if updatePermissionPossible}}' + + '{{/unless}}{{/if}}' + + '{{#if updatePermissionPossible}}{{#unless isMailShare}}' + '<li>' + '<span class="shareOption">' + '<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>' + '</span>' + '</li>' + - '{{/if}}' + - '{{#if deletePermissionPossible}}' + + '{{/unless}}{{/if}}' + + '{{#if deletePermissionPossible}}{{#unless isMailShare}}' + '<li>' + '<span class="shareOption">' + '<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>' + '</span>' + '</li>' + - '{{/if}}' + + '{{/unless}}{{/if}}' + '{{/if}}' + '<li>' + '<a href="#" class="unshare"><span class="icon-loading-small hidden"></span><span class="icon icon-delete"></span><span>{{unshareLabel}}</span></a>' + '</li>' + '</ul>' + '</div>' + - '{{/unless}}' + '</span>' + '</li>' + '{{/each}}' + |