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>
|
2018-10-30 16:22:33 +03:00
|
|
|
{{#if canUpdateShareSettings }}
|
2018-10-01 21:46:29 +03:00
|
|
|
<span class="sharingOptionsGroup">
|
|
|
|
{{#if editPermissionPossible}}
|
2018-10-31 13:43:05 +03:00
|
|
|
<span>
|
2018-10-01 21:46:29 +03:00
|
|
|
<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>
|
2018-10-30 16:22:33 +03:00
|
|
|
{{/if}}
|
2018-10-01 21:46:29 +03:00
|
|
|
</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>
|