1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-17 13:54:26 +03:00
ifhub.club/application/frontend/skin/developer/components/talk/talk-users-item.tpl
2014-07-22 23:16:27 +07:00

22 lines
1.2 KiB
Smarty
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{**
* Список пользователей с элементами управления / Пользователь
* Расширяет основной шаблон с пользователем добавляя кнопку "Повторно отправить приглашение" в блоке "Пригласить пользователей в блог"
*}
{extends 'components/user_list_small/user_list_small_item.tpl'}
{block 'components/user_list_small/user_list_small_item_classes'}
{if $oUserContainer && $oUserContainer->getUserActive() != $TALK_USER_ACTIVE}inactive{/if}
{/block}
{block 'components/user_list_small/user_list_small_item_attributes'}
{if $oUserContainer && $oUserContainer->getUserActive() != $TALK_USER_ACTIVE}title="Пользователь не участвует в разговоре"{/if}
{/block}
{block 'components/user_list_small/user_list_small_item_actions'}
{* TODO: Add local var allowManage *}
{if $allowManage|default:true}
<li class="icon-minus js-message-users-user-inactivate" title="{$aLang.common.remove}" data-user-id="{$iUserId}"></li>
<li class="icon-plus js-message-users-user-activate" title="{$aLang.common.add}" data-user-id="{$iUserId}" data-user-login="{$oUser->getLogin()}"></li>
{/if}
{/block}