mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-04 23:44:25 +03:00
18 lines
571 B
Smarty
18 lines
571 B
Smarty
{**
|
||
* Информация о голосовании
|
||
*
|
||
* @param object $target
|
||
*}
|
||
|
||
{$component = 'ls-vote-info'}
|
||
|
||
{$target = $smarty.local.target}
|
||
|
||
<ul class="{$component}">
|
||
<li>{component 'icon' icon='plus' mods='white'} {$target->getCountVoteUp()}</li>
|
||
<li>{component 'icon' icon='minus' mods='white'} {$target->getCountVoteDown()}</li>
|
||
<li>{component 'icon' icon='eye' mods='white'} {$target->getCountVoteAbstain()}</li>
|
||
<li>{component 'icon' icon='asterisk' mods='white'} {$target->getCountVote()}</li>
|
||
|
||
{hook run='topic_show_vote_stats' topic=$target}
|
||
</ul> |