2014-04-08 14:42:07 +03:00
|
|
|
|
{**
|
|
|
|
|
* Информация о голосовании
|
2014-11-09 16:19:58 +02:00
|
|
|
|
*
|
|
|
|
|
* @param object $target
|
2014-04-08 14:42:07 +03:00
|
|
|
|
*}
|
|
|
|
|
|
2015-05-20 19:26:11 +03:00
|
|
|
|
{$component = 'ls-vote-info'}
|
2014-04-08 14:42:07 +03:00
|
|
|
|
|
2014-11-09 16:19:58 +02:00
|
|
|
|
{$target = $smarty.local.target}
|
2014-04-08 14:42:07 +03:00
|
|
|
|
|
2014-11-09 16:19:58 +02:00
|
|
|
|
<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>
|
2014-11-09 16:19:58 +02:00
|
|
|
|
|
|
|
|
|
{hook run='topic_show_vote_stats' topic=$target}
|
2014-04-08 14:42:07 +03:00
|
|
|
|
</ul>
|