summaryrefslogtreecommitdiffstats
path: root/core/js/share/sharedialoglinkshareview.handlebars
blob: e0787cc7d3bceaf469b44a7ecbdc0ce3079d6473 (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
{{#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}}'