2018-10-01 21:46:29 +03:00
|
|
|
<ul id="shareWithList" class="shareWithList">
|
|
|
|
{{#each sharees}}
|
|
|
|
<li data-share-id="{{shareId}}" data-share-type="{{shareType}}" data-share-with="{{shareWith}}">
|
|
|
|
<div class="avatar {{#if modSeed}}imageplaceholderseed{{/if}}" data-username="{{shareWith}}" data-avatar="{{shareWithAvatar}}" data-displayname="{{shareWithDisplayName}}" {{#if modSeed}}data-seed="{{shareWith}} {{shareType}}"{{/if}}></div>
|
|
|
|
<span class="username" title="{{shareWithTitle}}">{{shareWithDisplayName}}</span>
|
|
|
|
<span class="sharingOptionsGroup">
|
|
|
|
{{#if editPermissionPossible}}
|
|
|
|
<span class="shareOption">
|
|
|
|
<input id="canEdit-{{cid}}-{{shareId}}" type="checkbox" name="edit" class="permissions checkbox" />
|
|
|
|
<label for="canEdit-{{cid}}-{{shareId}}">{{canEditLabel}}</label>
|
|
|
|
</span>
|
|
|
|
{{/if}}
|
|
|
|
<div tabindex="0" class="share-menu"><span class="icon icon-more"></span>
|
|
|
|
{{{popoverMenu}}}
|
|
|
|
</div>
|
|
|
|
</span>
|
|
|
|
</li>
|
2018-10-29 15:58:14 +03:00
|
|
|
{{/each}}
|
2018-10-01 21:46:29 +03:00
|
|
|
{{#each linkReshares}}
|
|
|
|
<li data-share-id="{{shareId}}" data-share-type="{{shareType}}">
|
|
|
|
<div class="avatar" data-username="{{shareInitiator}}"></div>
|
2018-10-04 21:07:12 +03:00
|
|
|
<span class="has-tooltip username" title="{{shareInitiator}}">{{shareInitiatorText}}</span>
|
2018-10-01 21:46:29 +03:00
|
|
|
<span class="sharingOptionsGroup">
|
|
|
|
<a href="#" class="unshare"><span class="icon-loading-small hidden"></span><span class="icon icon-delete"></span><span class="hidden-visually">{{unshareLabel}}</span></a>
|
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
{{/each}}
|
|
|
|
</ul>
|