summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryorhel <yorhel@1fe2e327-d9db-4752-bcf7-ef0cb4a1748b>2008-08-18 09:02:57 +0000
committeryorhel <yorhel@1fe2e327-d9db-4752-bcf7-ef0cb4a1748b>2008-08-18 09:02:57 +0000
commit30d1ea8524a572ad69047a98b9b37b513e2c15d3 (patch)
tree82f880452cbc1edea5850c409809932a8d5b2f1c
parent9a72f22e7500624666f4e1e2ba635b6bd9a6ca3f (diff)
Inverted vote graph
git-svn-id: svn://vndb.org/vndb@91 1fe2e327-d9db-4752-bcf7-ef0cb4a1748b
-rw-r--r--data/tpl/vnpage_stats2
-rw-r--r--lib/ChangeLog6
2 files changed, 6 insertions, 2 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>
diff --git a/lib/ChangeLog b/lib/ChangeLog
index bb5ef924..594f128b 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -6,12 +6,16 @@ TODO:
(preferably with the option to re-add them when unhiding)
+ Add a link for the hidden 'h' option at /hist
-1.21 - ?
+1.22 - ?
+ - Inverted vote graph
+
+1.21 - 2008-08-16 (r90)
- Added !vn and !uptime commands to Multi::IRC
- Added realtime IRC notifications for actions on the site
- Added screenshots to VNs
- Rewrote Multi::Image
- Renamed the 'anime check' command to 'anime' for consistency
+ - Moved to PostgreSQL's boolean data type to store boolean data
1.20 - 2008-08-06 (r79)
- Admins can change someone's username