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