mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
Mark selected options in poll with bolder font
This commit is contained in:
parent
5b5f64997b
commit
6345a62744
1 changed files with 14 additions and 2 deletions
|
@ -20,9 +20,21 @@
|
||||||
<div class="poll-results">
|
<div class="poll-results">
|
||||||
<div n:foreach="$results->options as $option" class="poll-result">
|
<div n:foreach="$results->options as $option" class="poll-result">
|
||||||
{if $isAnon}
|
{if $isAnon}
|
||||||
<a href="javascript:false">{$option->name}</a>
|
<a href="javascript:false">
|
||||||
|
{if $option->voted}
|
||||||
|
<b>{$option->name}</b>
|
||||||
{else}
|
{else}
|
||||||
<a href="/poll{$id}/voters?option={base_convert($option->id, 10, 32)}">{$option->name}</a>
|
{$option->name}
|
||||||
|
{/if}
|
||||||
|
</a>
|
||||||
|
{else}
|
||||||
|
<a href="/poll{$id}/voters?option={base_convert($option->id, 10, 32)}">
|
||||||
|
{if $option->voted}
|
||||||
|
<b>{$option->name}</b>
|
||||||
|
{else}
|
||||||
|
{$option->name}
|
||||||
|
{/if}
|
||||||
|
</a>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<div class="poll-result-barspace">
|
<div class="poll-result-barspace">
|
||||||
|
|
Loading…
Reference in a new issue