aboutsummaryrefslogtreecommitdiffstats
path: root/tmpl/donations_by_pa.html
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-05-15 22:56:26 +0000
committerNicolas Vigier <boklm@mageia.org>2013-05-15 22:56:26 +0000
commit0443a9d4131bd15977a4bdb08eacabf13fcd105c (patch)
tree4de96d4e27672208e1a4f0c15e8b3c71c6c922d9 /tmpl/donations_by_pa.html
parentb798ff2ec93407edf42881352ac25a438675774f (diff)
downloadmgatres-0443a9d4131bd15977a4bdb08eacabf13fcd105c.tar
mgatres-0443a9d4131bd15977a4bdb08eacabf13fcd105c.tar.gz
mgatres-0443a9d4131bd15977a4bdb08eacabf13fcd105c.tar.bz2
mgatres-0443a9d4131bd15977a4bdb08eacabf13fcd105c.tar.xz
mgatres-0443a9d4131bd15977a4bdb08eacabf13fcd105c.zip
add per person donation pages
git-svn-id: svn+ssh://svn.mageia.org/svn/soft/mga-treasurer/trunk@8262 5b7c3c08-40e5-403b-9995-ace06908e4af
Diffstat (limited to 'tmpl/donations_by_pa.html')
-rw-r--r--tmpl/donations_by_pa.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/tmpl/donations_by_pa.html b/tmpl/donations_by_pa.html
new file mode 100644
index 0000000..585250e
--- /dev/null
+++ b/tmpl/donations_by_pa.html
@@ -0,0 +1,27 @@
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <title>[% config.sitename %]: Donations received from [% who %]</title>
+ </head>
+ <body>
+ <h1>Mageia.Org donations received from [% who %]</h1>
+ <h3>Summary</h3>
+ <ul>
+ <li>
+ <b>Total</b>: [% donations.by_pa.$pa.total %] Euros
+ </li>
+ [% FOR type IN donations.by_pa.$pa.type.keys %]
+ <li>
+ <b>[% type %]</b>: [% donations.by_pa.$pa.type.$type %] Euros
+ </li>
+ [%- END -%]
+ </ul>
+ <h3>Donations list</h3>
+ <ul>
+ [%- USE date(format='%Y/%m/%d') -%]
+ [% FOR don IN donations.by_pa.$pa.donations %]
+ <li><b>[% don.amount %]</b> Euros on [% date.format(don.date) %] ([% don.type %])</li>
+ [%- END -%]
+ </ul>
+ </body>
+</html>