summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2017-03-30 15:30:44 +0200
committerBjoern Schiessle <bjoern@schiessle.org>2017-04-03 10:29:33 +0200
commit5540def5e332b30d42c0c3484d3c732278f8f6b8 (patch)
tree64a3fbe8a0c3e9195f8263d670f3860bed700a4f /core
parentdac6826ad7ba54c5ed8bc81d09f2497ae2b0ec6f (diff)
downloadnextcloud-server-5540def5e332b30d42c0c3484d3c732278f8f6b8.tar.gz
nextcloud-server-5540def5e332b30d42c0c3484d3c732278f8f6b8.zip
change permission order
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'core')
-rw-r--r--core/js/sharedialogshareelistview.js22
1 files changed, 10 insertions, 12 deletions
diff --git a/core/js/sharedialogshareelistview.js b/core/js/sharedialogshareelistview.js
index 166a55c71be..3c234f54665 100644
--- a/core/js/sharedialogshareelistview.js
+++ b/core/js/sharedialogshareelistview.js
@@ -100,18 +100,6 @@
'</span>' +
'</li>' +
'{{/if}}' +
- '{{/if}}' +
- '<li>' +
- '<span class="shareOption menuitem">' +
- '<input id="expireDate-{{cid}}-{{shareId}}" type="checkbox" name="expirationDate" class="expireDate checkbox" {{#if hasExpireDate}}checked="checked"{{/if}}" />' +
- '<label for="expireDate-{{cid}}-{{shareId}}">{{expireDateLabel}}</label>' +
- '<div class="expirationDateContainer-{{cid}}-{{shareId}} {{#unless hasExpireDate}}hidden{{/unless}}">' +
- ' <label for="expirationDatePicker-{{cid}}-{{shareId}}" class="hidden-visually" value="{{expirationDate}}">{{expirationLabel}}</label>' +
- ' <input id="expirationDatePicker-{{cid}}-{{shareId}}" class="datepicker" type="text" placeholder="{{expirationDatePlaceholder}}" value="{{expireDate}}" />' +
- '</div>' +
- '</span>' +
- '</li>' +
- '{{#if isMailShare}}' +
'<li>' +
'<span class="shareOption menuitem">' +
'<input id="password-{{cid}}-{{shareId}}" type="checkbox" name="password" class="password checkbox" {{#if isPasswordSet}}checked="checked"{{/if}}" />' +
@@ -125,6 +113,16 @@
'</li>' +
'{{/if}}' +
'<li>' +
+ '<span class="shareOption menuitem">' +
+ '<input id="expireDate-{{cid}}-{{shareId}}" type="checkbox" name="expirationDate" class="expireDate checkbox" {{#if hasExpireDate}}checked="checked"{{/if}}" />' +
+ '<label for="expireDate-{{cid}}-{{shareId}}">{{expireDateLabel}}</label>' +
+ '<div class="expirationDateContainer-{{cid}}-{{shareId}} {{#unless hasExpireDate}}hidden{{/unless}}">' +
+ ' <label for="expirationDatePicker-{{cid}}-{{shareId}}" class="hidden-visually" value="{{expirationDate}}">{{expirationLabel}}</label>' +
+ ' <input id="expirationDatePicker-{{cid}}-{{shareId}}" class="datepicker" type="text" placeholder="{{expirationDatePlaceholder}}" value="{{expireDate}}" />' +
+ '</div>' +
+ '</span>' +
+ '</li>' +
+ '<li>' +
'<a href="#" class="unshare"><span class="icon-loading-small hidden"></span><span class="icon icon-delete"></span><span>{{unshareLabel}}</span></a>' +
'</li>' +
'</ul>' +