mirror of
https://github.com/openvk/openvk
synced 2024-12-23 00:51:03 +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 n:foreach="$results->options as $option" class="poll-result">
|
||||
{if $isAnon}
|
||||
<a href="javascript:false">{$option->name}</a>
|
||||
<a href="javascript:false">
|
||||
{if $option->voted}
|
||||
<b>{$option->name}</b>
|
||||
{else}
|
||||
{$option->name}
|
||||
{/if}
|
||||
</a>
|
||||
{else}
|
||||
<a href="/poll{$id}/voters?option={base_convert($option->id, 10, 32)}">{$option->name}</a>
|
||||
<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}
|
||||
|
||||
<div class="poll-result-barspace">
|
||||
|
|
Loading…
Reference in a new issue