1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-17 05:44:26 +03:00
ifhub.club/application/frontend/components/comment/comment-list.tpl

25 lines
777 B
Smarty
Raw Normal View History

{**
* Список комментариев
*
* @param array comments Комментарии
*}
{$component = 'ls-comment-list'}
2015-10-24 19:13:41 +03:00
{if $smarty.local.comments}
<div class="{$component} {cmods name=$component mods=$smarty.local.mods} {$smarty.local.classes}" {cattr list=$smarty.local.attributes}>
{component 'comment' template='tree'
comments = $smarty.local.comments
forbidAdd = true
maxLevel = 0
commentParams = [
useFavourite => true,
useEdit => false,
useVote => false,
useScroll => false,
showPath => true
]}
</div>
{else}
{component 'blankslate' text=$aLang.common.empty}
{/if}