diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-05-30 21:07:40 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-05-30 21:07:40 +0000 |
commit | cbb2246b5a306a424e65d288885f3caf2c5812f2 (patch) | |
tree | 2dbf25b64cc4cbb6be8c49ef49780a2cdc1b780d /tmpl/donations_by_month.html | |
parent | d6ddb60dca43ca308e4a9be9a68c9a22c58f68ed (diff) | |
download | mgatres-cbb2246b5a306a424e65d288885f3caf2c5812f2.tar mgatres-cbb2246b5a306a424e65d288885f3caf2c5812f2.tar.gz mgatres-cbb2246b5a306a424e65d288885f3caf2c5812f2.tar.bz2 mgatres-cbb2246b5a306a424e65d288885f3caf2c5812f2.tar.xz mgatres-cbb2246b5a306a424e65d288885f3caf2c5812f2.zip |
donations_by_month.html: sort donations by date
git-svn-id: svn+ssh://svn.mageia.org/svn/soft/mga-treasurer/trunk@8404 5b7c3c08-40e5-403b-9995-ace06908e4af
Diffstat (limited to 'tmpl/donations_by_month.html')
-rw-r--r-- | tmpl/donations_by_month.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tmpl/donations_by_month.html b/tmpl/donations_by_month.html index d4ca902..afba727 100644 --- a/tmpl/donations_by_month.html +++ b/tmpl/donations_by_month.html @@ -19,7 +19,7 @@ <h2>Donations list</h2> <ul> [%- USE date(format='%Y/%m/%d') -%] - [% FOR don IN donations.by_month.$month.donations %] + [% FOR don IN donations.by_month.$month.donations.sort('date').reverse %] <li><b><a href="donations_p_[% don.pa %].html">[% don.who %]</a></b> donated <b>[% don.amount %]</b> Euros on [% date.format(don.date) %] ([% don.sc_name %])</li> [%- END -%] </ul> |