aboutsummaryrefslogtreecommitdiffstats
path: root/tmpl/donations.html
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-05-12 23:10:40 +0000
committerNicolas Vigier <boklm@mageia.org>2013-05-12 23:10:40 +0000
commit1eaf19979de280ca88cdd43e02559b45efa135f7 (patch)
treea7907b9d9e1bcc11dcfb00dd6424f48f59725f20 /tmpl/donations.html
parent5f84ef863a5e50388a1318de2dd65c9804862383 (diff)
downloadmgatres-1eaf19979de280ca88cdd43e02559b45efa135f7.tar
mgatres-1eaf19979de280ca88cdd43e02559b45efa135f7.tar.gz
mgatres-1eaf19979de280ca88cdd43e02559b45efa135f7.tar.bz2
mgatres-1eaf19979de280ca88cdd43e02559b45efa135f7.tar.xz
mgatres-1eaf19979de280ca88cdd43e02559b45efa135f7.zip
tmpl/donations.html: fix last 5 donations list
git-svn-id: svn+ssh://svn.mageia.org/svn/soft/mga-treasurer/trunk@8217 5b7c3c08-40e5-403b-9995-ace06908e4af
Diffstat (limited to 'tmpl/donations.html')
-rw-r--r--tmpl/donations.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmpl/donations.html b/tmpl/donations.html
index aa8f80e..3d3af58 100644
--- a/tmpl/donations.html
+++ b/tmpl/donations.html
@@ -13,7 +13,7 @@
<h3>Last [% l %] donations</h3>
<ul>
[%- i=0 -%]
- [%- FOR don IN donations.donations -%]
+ [%- FOR don IN donations.donations.sort('date').reverse -%]
[%- i = i + 1 -%]
[%- LAST IF i > l -%]
<li><b>[% don.who %]</b> donated <b>[% don.amount %]</b> Euros on [% date.format(don.date) %]</li>