1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-07 17:04:24 +03:00
ifhub.club/application/frontend/components/vote/vote.info.tpl

18 lines
571 B
Smarty
Raw Normal View History

{**
* Информация о голосовании
*
* @param object $target
*}
{$component = 'ls-vote-info'}
{$target = $smarty.local.target}
<ul class="{$component}">
2015-03-26 18:00:39 +02:00
<li>{component 'icon' icon='plus' mods='white'} {$target->getCountVoteUp()}</li>
<li>{component 'icon' icon='minus' mods='white'} {$target->getCountVoteDown()}</li>
2015-06-04 19:37:42 +03:00
<li>{component 'icon' icon='eye' mods='white'} {$target->getCountVoteAbstain()}</li>
2015-03-26 18:00:39 +02:00
<li>{component 'icon' icon='asterisk' mods='white'} {$target->getCountVote()}</li>
{hook run='topic_show_vote_stats' topic=$target}
</ul>