1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-05-05 02:18:18 +03:00
ifhub.club/application/frontend/components/blog/blocks/block.blog-users.tpl
2015-04-17 23:21:45 +07:00

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' ]}}