2018-10-01 18:46:29 +00:00
|
|
|
{{#if shareAllowed}}
|
2018-10-31 10:43:05 +00:00
|
|
|
<ul class="shareWithList">
|
2018-10-29 12:58:14 +00:00
|
|
|
{{#if nolinkShares}}
|
2018-11-05 09:46:13 +00:00
|
|
|
<li data-share-id="{{newShareId}}">
|
2018-10-29 12:58:14 +00:00
|
|
|
<div class="avatar icon-public-white"></div>
|
|
|
|
<span class="username">{{newShareLabel}}</span>
|
|
|
|
<span class="sharingOptionsGroup">
|
2018-10-31 10:43:05 +00:00
|
|
|
<div class="share-menu">
|
|
|
|
<a href="#" class="icon icon-add new-share has-tooltip {{#if showPending}}hidden{{/if}}" title="{{newShareTitle}}"></a>
|
|
|
|
<span class="icon icon-loading-small {{#unless showPending}}hidden{{/unless}}"></span>
|
|
|
|
{{#if showPending}}
|
|
|
|
{{{pendingPopoverMenu}}}
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
2018-10-01 18:46:29 +00:00
|
|
|
</span>
|
2018-10-29 12:58:14 +00:00
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
{{#each linkShares}}
|
|
|
|
<li data-share-id="{{cid}}">
|
2018-11-26 17:37:58 +00:00
|
|
|
<div class="avatar icon-public-white"></div>
|
|
|
|
<span class="username" title="{{linkShareCreationDate}}">{{linkShareLabel}}</span>
|
2018-10-31 09:28:18 +00:00
|
|
|
|
2018-10-29 12:58:14 +00:00
|
|
|
<span class="sharingOptionsGroup">
|
2018-10-31 09:28:18 +00:00
|
|
|
<a href="#" class="clipboard-button icon icon-clippy has-tooltip" data-clipboard-text="{{shareLinkURL}}" title="{{copyLabel}}"></a>
|
2018-10-31 10:43:05 +00:00
|
|
|
<div class="share-menu">
|
|
|
|
<a href="#" class="icon icon-more {{#if showPending}}hidden{{/if}}"></a>
|
|
|
|
<span class="icon icon-loading-small {{#unless showPending}}hidden{{/unless}}"></span>
|
2018-10-01 18:46:29 +00:00
|
|
|
{{#if showPending}}
|
|
|
|
{{{pendingPopoverMenu}}}
|
|
|
|
{{else}}
|
|
|
|
{{{popoverMenu}}}
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
2018-10-29 12:58:14 +00:00
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
{{/each}}
|
2018-10-01 18:46:29 +00:00
|
|
|
</ul>
|
|
|
|
{{else}}
|
2018-10-31 09:28:18 +00:00
|
|
|
{{#if noSharingPlaceholder}}<input id="shareWith-{{cid}}" class="shareWithField" type="text" placeholder="{{noSharingPlaceholder}}" disabled="disabled" />{{/if}}
|
2018-10-04 14:01:39 +00:00
|
|
|
{{/if}}
|