mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-05 07:54:24 +03:00
34 lines
1,001 B
Smarty
34 lines
1,001 B
Smarty
{**
|
|
* Выбор друзей для чтения в ленте активности
|
|
*
|
|
* @styles css/blocks.css
|
|
*}
|
|
|
|
{extends file='blocks/block.aside.base.tpl'}
|
|
|
|
{block name='block_title'}{$aLang.stream_block_users_friends}{/block}
|
|
{block name='block_type'}activity{/block}
|
|
|
|
{block name='block_content'}
|
|
{if $oUserCurrent}
|
|
<small class="note">{$aLang.stream_settings_note_follow_friend}</small>
|
|
|
|
{if $aStreamFriends}
|
|
<ul class="user-list-mini max-height-200 js-activity-block-users">
|
|
{foreach $aStreamFriends as $oUser}
|
|
{$iUserId = $oUser->getId()}
|
|
|
|
<li id="activity-block-users-item-{$iUserId}">
|
|
<input class="input-checkbox"
|
|
type="checkbox"
|
|
{if isset($aStreamSubscribedUsers.$iUserId)}checked{/if}
|
|
data-user-id="{$iUserId}" />
|
|
<a href="{$oUser->getUserWebPath()}">{$oUser->getDisplayName()}</a>
|
|
</li>
|
|
{/foreach}
|
|
</ul>
|
|
{else}
|
|
<small class="note">{$aLang.stream_no_subscribed_users}</small>
|
|
{/if}
|
|
{/if}
|
|
{/block} |