summaryrefslogtreecommitdiffstats
path: root/core/js/share/sharedialoglinkshareview.handlebars
blob: 9b44596f7a3c410c71e47ca2b4b836ee163b39e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{{#if shareAllowed}}
<ul id="shareLink" class="shareWithList">
	{{#if nolinkShares}}
		<li>
			<div class="avatar icon-public-white"></div>
			<span class="username">{{newShareLabel}}</span>
			<span class="sharingOptionsGroup">
				<span class="icon icon-add new-share has-tooltip" title="{{newShareTitle}}"></span>
				<span class="icon icon-loading-small hidden"></span>
			</span>
		</li>
	{{/if}}
	{{#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}}}
					{{else}}
						{{{popoverMenu}}}
					{{/if}}
				</div>
			</span>
		</li>
	{{/each}}
</ul>
{{else}}
{{#if noSharingPlaceholder}}<input id="shareWith-{{cid}}" class="shareWithField" type="text" placeholder="{{noSharingPlaceholder}}" disabled="disabled" />{{/if}}
{{/if}}