mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-05-05 02:18:18 +03:00
19 lines
591 B
Smarty
19 lines
591 B
Smarty
{**
|
|
* Список пользователей блога
|
|
*}
|
|
|
|
{capture 'block_title'}
|
|
{$usersCount = count($blogUsers)}
|
|
|
|
{if $usersCount}
|
|
{$usersCount} {lang "{$smarty.local.titleLang|default:'blog.readers_declension'}" count=$usersCount plural=true}
|
|
{else}
|
|
{$aLang.blog.users.empty}
|
|
{/if}
|
|
{/capture}
|
|
|
|
{component 'block'
|
|
mods = 'blog-users'
|
|
title = $smarty.capture.block_title
|
|
titleUrl = "{$blog->getUrlFull()}users/"
|
|
content = {component 'user' template='avatar-list' users=$blogUsers blankslateParams=[ 'mods' => 'no-background' ]}} |