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

34 lines
1.1 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.

{**
* Модальное с меню "Создать"
*
* @styles css/modals.css
*}
{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}
{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}
{* Список *}
{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}