summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/tpl/vnpage_stats2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/tpl/vnpage_stats b/data/tpl/vnpage_stats
index cb24bd1c..6a450e14 100644
--- a/data/tpl/vnpage_stats
+++ b/data/tpl/vnpage_stats
@@ -12,7 +12,7 @@
<li><h3>Vote graph <p class="actions">[[= $total ]]- vote[[= $total==1?'':'s' ]]- total
[[= $total && $d{user} ? sprintf(', average: %.1f.', $sum/$total) : '' ]]</p></h3>
<table id="tvg">
-[[ for (0..$#{$d{votes}{graph}}) { ]]-
+[[ for (reverse 0..$#{$d{votes}{graph}}) { ]]-
<tr>
<td class="tc1">[[= $_+1 ]]</td>
<td class="tc2"><div style="width: -[[= ($d{votes}{graph}[$_]/$max)*270 + 5 ]]px">&nbsp;</div>[[= $d{votes}{graph}[$_] ]]</td>