mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-05-19 17:28:23 +03:00
Мелкие исправления
This commit is contained in:
parent
0a0594ee2e
commit
4a3c7a21d2
|
@ -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}
|
Loading…
Reference in a new issue