diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-10-01 20:46:29 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-10-04 09:53:45 +0200 |
commit | b0fd31496b5edb95264c0ea3139692b5969f40e0 (patch) | |
tree | 77f0034a4759edccf2c3993ce4cefa12e25b077e /core/js/share/sharedialoglinkshareview.handlebars | |
parent | b10cddebe583dff888d844c550f607d52b496d49 (diff) | |
download | nextcloud-server-b0fd31496b5edb95264c0ea3139692b5969f40e0.tar.gz nextcloud-server-b0fd31496b5edb95264c0ea3139692b5969f40e0.zip |
Move OC.Share to compiled handlebars
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'core/js/share/sharedialoglinkshareview.handlebars')
-rw-r--r-- | core/js/share/sharedialoglinkshareview.handlebars | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/core/js/share/sharedialoglinkshareview.handlebars b/core/js/share/sharedialoglinkshareview.handlebars new file mode 100644 index 00000000000..e0787cc7d3b --- /dev/null +++ b/core/js/share/sharedialoglinkshareview.handlebars @@ -0,0 +1,25 @@ +{{#if shareAllowed}} +<ul id="shareLink" class="shareWithList"> + <li data-share-id="{{cid}}"> + <div class="avatar icon-public-white"></div><span class="username" title="{{linkShareLabel}}">{{linkShareLabel}}</span> + <span class="sharingOptionsGroup"> + <span class="shareOption"> + <span class="icon-loading-small hidden"></span> + <input id="linkCheckbox-{{cid}}" {{#if isLinkShare}}checked="checked"{{/if}} type="checkbox" name="linkCheckbox" class="linkCheckbox permissions checkbox"> + <label for="linkCheckbox-{{cid}}">{{linkShareEnableLabel}}</label> + </span> + {{#if showMenu}} + <div class="share-menu" tabindex="0"><span class="icon icon-more"></span> + {{#if showPending}} + {{{pendingPopoverMenu}}} + {{else}} + {{{popoverMenu}}} + {{/if}} + </div> + {{/if}} + </span> + </li> +</ul> +{{else}} +{{#if noSharingPlaceholder}}<input id="shareWith-{{cid}}" class="shareWithField" type="text" placeholder="{{noSharingPlaceholder}}" disabled="disabled"/>{{/if}} +{{/if}}' |