summaryrefslogtreecommitdiffstats
path: root/core/js/share/sharedialoglinkshareview.handlebars
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-10-31 10:28:18 +0100
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2018-11-01 21:30:45 +0100
commit106ed07d6ac306420d091b44ddc4427bd5cf228f (patch)
tree1fd9b6edafcbebc666de0b76440199ae32aa795d /core/js/share/sharedialoglinkshareview.handlebars
parent1bd6d39b39dd527ad095510173e9012afaafd3b0 (diff)
downloadnextcloud-server-106ed07d6ac306420d091b44ddc4427bd5cf228f.tar.gz
nextcloud-server-106ed07d6ac306420d091b44ddc4427bd5cf228f.zip
Copy link outside menu
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/js/share/sharedialoglinkshareview.handlebars')
-rw-r--r--core/js/share/sharedialoglinkshareview.handlebars6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/js/share/sharedialoglinkshareview.handlebars b/core/js/share/sharedialoglinkshareview.handlebars
index a8a6e795839..9b44596f7a3 100644
--- a/core/js/share/sharedialoglinkshareview.handlebars
+++ b/core/js/share/sharedialoglinkshareview.handlebars
@@ -5,7 +5,7 @@
<div class="avatar icon-public-white"></div>
<span class="username">{{newShareLabel}}</span>
<span class="sharingOptionsGroup">
- <span class="icon icon-add new-share" title="{{newShareTitle}}"></span>
+ <span class="icon icon-add new-share has-tooltip" title="{{newShareTitle}}"></span>
<span class="icon icon-loading-small hidden"></span>
</span>
</li>
@@ -13,7 +13,9 @@
{{#each linkShares}}
<li data-share-id="{{cid}}">
<div class="avatar icon-public-white"></div><span class="username" title="{{linkShareLabel}}">{{linkShareLabel}}</span>
+
<span class="sharingOptionsGroup">
+ <a href="#" class="clipboard-button icon icon-clippy has-tooltip" data-clipboard-text="{{shareLinkURL}}" title="{{copyLabel}}"></a>
<div class="share-menu" tabindex="0"><span class="icon icon-more"></span>
{{#if showPending}}
{{{pendingPopoverMenu}}}
@@ -26,5 +28,5 @@
{{/each}}
</ul>
{{else}}
-{{#if noSharingPlaceholder}}<input id="shareWith-{{cid}}" class="shareWithField" type="text" placeholder="{{noSharingPlaceholder}}" disabled="disabled"/>{{/if}}
+{{#if noSharingPlaceholder}}<input id="shareWith-{{cid}}" class="shareWithField" type="text" placeholder="{{noSharingPlaceholder}}" disabled="disabled" />{{/if}}
{{/if}}