mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-03 06:55:03 +03:00
16 lines
530 B
Smarty
16 lines
530 B
Smarty
{**
|
||
* Информация о голосовании
|
||
*
|
||
* @param object $target
|
||
*}
|
||
|
||
{$component = 'ls-vote-info'}
|
||
{component_define_params params=[ 'target' ]}
|
||
|
||
<ul class="{$component}">
|
||
<li class="{$component}-item {$component}-item--up">{$target->getCountVoteUp()}</li>
|
||
<li class="{$component}-item {$component}-item--down">{$target->getCountVoteDown()}</li>
|
||
<li class="{$component}-item {$component}-item--abstain">{$target->getCountVoteAbstain()}</li>
|
||
|
||
{hook run='topic_show_vote_stats' topic=$target}
|
||
</ul> |