diff options
author | yorhel <yorhel@1fe2e327-d9db-4752-bcf7-ef0cb4a1748b> | 2008-08-18 09:02:57 +0000 |
---|---|---|
committer | yorhel <yorhel@1fe2e327-d9db-4752-bcf7-ef0cb4a1748b> | 2008-08-18 09:02:57 +0000 |
commit | 30d1ea8524a572ad69047a98b9b37b513e2c15d3 (patch) | |
tree | 82f880452cbc1edea5850c409809932a8d5b2f1c /data/tpl/vnpage_stats | |
parent | 9a72f22e7500624666f4e1e2ba635b6bd9a6ca3f (diff) |
Inverted vote graph
git-svn-id: svn://vndb.org/vndb@91 1fe2e327-d9db-4752-bcf7-ef0cb4a1748b
Diffstat (limited to 'data/tpl/vnpage_stats')
-rw-r--r-- | data/tpl/vnpage_stats | 2 |
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"> </div>[[= $d{votes}{graph}[$_] ]]</td> |