1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-05-19 17:28:23 +03:00

Мелкие исправления

This commit is contained in:
Denis Shakhov 2015-10-24 23:13:41 +07:00
parent 0a0594ee2e
commit 4a3c7a21d2

View file

@ -6,16 +6,20 @@
{$component = 'ls-comment-list'}
<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>
{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}