<!-- polls results list -->

{foreach from=$poll.items item='poll_item'}
    <li>
        <div>{$poll_item.name.$lang_site} (<b>{$poll_item.Votes}</b> {$lang.votes})</div>
        <div style="width: {if $poll_item.percent < 10}10{elseif $poll_item.percent >= 10 && $poll_item.percent < 70}{$poll_item.percent*1.25}{else}{$poll_item.percent}{/if}%; background: {$poll_item.Color};color: {if $poll_item.Color == '#ffffff'}#000000{else}#ffffff{/if};">
            {$poll_item.percent}%
        </div>
    </li>
{/foreach}

<!-- polls results list end -->