1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-16 21:34:25 +03:00
ifhub.club/application/frontend/skin/developer/modals/modal.user_list.tpl

34 lines
1.1 KiB
Smarty
Raw Normal View History

{**
* Модальное с меню "Создать"
*
* @styles css/modals.css
*}
2014-04-28 13:34:54 +03:00
{extends 'components/modal/modal.tpl'}
{block name='modal_id'}modal-users-select{/block}
{block name='modal_class'}modal-users-select js-modal-default{/block}
{block name='modal_title'}{$aLang.block_friends}{/block}
{block name='modal_content'}
{* Экшнбар *}
{if $aUserList && $bSelectable}
2014-04-08 14:43:35 +03:00
{include 'components/actionbar/actionbar.item.select.tpl' sItemSelector='.js-user-list-select .js-user-list-small-item' assign=sUsersSelect}
{include 'components/actionbar/actionbar.tpl' aItems=[
[ 'html' => $sUsersSelect ]
]}
{/if}
{* Список *}
2014-04-28 13:34:54 +03:00
{include 'components/user_list_small/user_list_small.tpl' aUserList=$aUserList bUserListSmallSelectable=$bSelectable bUserListSmallShowEmpty=true sUserListSmallClasses='js-user-list-select'}
{/block}
{block name='modal_footer_begin'}
{if $aUserList && $bSelectable}
{include 'components/button/button.tpl'
sText = $aLang.common.add
sMods = 'primary'
sClasses = 'js-user-list-select-add'
sAttributes = "data-target=\"{$sTarget}\""}
{/if}
{/block}