<xen:edithint template="wf_default.css" />
<xen:edithint template="polls.css" />
<div class="overlayScroll pollResultsOverlay">
<ol class="pollResults noResults">
<xen:foreach loop="$poll.responses" key="$pollResponseId" value="$response">
<li class="pollResult {xen:if $response.hasVoted, voted}">
<xen:if is="{$response.hasVoted}">
<div class="votedIconCell" title="{xen:phrase your_vote}">*</div>
<xen:else />
<div class="votedIconCell"></div>
</xen:if>
<h2 class="optionText" {xen:if $response.hasVoted, 'title="{xen:phrase your_vote}"'}>
{$response.response}
</h2>
<div class="count"{xen:if '{$poll.voter_count}', ' class="Tooltip" title="{xen:number {xen:calc "100 * {$response.response_vote_count} / {$poll.voter_count}"}, 1}%"'}>
<xen:if is="{$poll.public_votes} AND {$response.response_vote_count}">
<a href="{xen:link threads/poll/results, $thread, 'poll_response_id={$pollResponseId}'}" class="concealed OverlayTrigger">{xen:phrase x_votes, 'count={xen:number $response.response_vote_count}'}</a>
<xen:else />
{xen:phrase x_votes, 'count={xen:number $response.response_vote_count}'}
</xen:if>
</div>
</li>
</xen:foreach>
</ol>
</div>