aboutsummaryrefslogtreecommitdiffstats
path: root/tmpl/donations_by_month.html
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-05-11 09:51:05 +0000
committerNicolas Vigier <boklm@mageia.org>2013-05-11 09:51:05 +0000
commit67438a91f1f65d7de5743bfdf8455c473b75e885 (patch)
tree67c5b65a5ab4bc05e4b46639f260a677157b62f1 /tmpl/donations_by_month.html
parent65bbaa0096c75846d3ddddc2f52f82cdc99172bb (diff)
downloadmgatres-67438a91f1f65d7de5743bfdf8455c473b75e885.tar
mgatres-67438a91f1f65d7de5743bfdf8455c473b75e885.tar.gz
mgatres-67438a91f1f65d7de5743bfdf8455c473b75e885.tar.bz2
mgatres-67438a91f1f65d7de5743bfdf8455c473b75e885.tar.xz
mgatres-67438a91f1f65d7de5743bfdf8455c473b75e885.zip
First version
git-svn-id: svn+ssh://svn.mageia.org/svn/soft/mga-treasurer/trunk@8203 5b7c3c08-40e5-403b-9995-ace06908e4af
Diffstat (limited to 'tmpl/donations_by_month.html')
-rw-r--r--tmpl/donations_by_month.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/tmpl/donations_by_month.html b/tmpl/donations_by_month.html
new file mode 100644
index 0000000..9dd338d
--- /dev/null
+++ b/tmpl/donations_by_month.html
@@ -0,0 +1,28 @@
+[% SET login = users.$user.uid.0 %]
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <title>[% config.sitename %]: Donations for [% month %]</title>
+ </head>
+ <body>
+ <h1>Mageia.Org donations for month [% month %]</h1>
+ <h3>Summary</h3>
+ <ul>
+ <li>
+ <b>Total</b>: [% donations.by_month.$month.total %] Euros
+ </li>
+ [% FOR type IN donations.by_month.$month.type.keys %]
+ <li>
+ <b>[% type %]</b>: [% donations.by_month.$month.type.$type %] Euros
+ </li>
+ [%- END -%]
+ </ul>
+ <h3>Donations list</h3>
+ <ul>
+ [%- USE date(format='%Y/%m/%d') -%]
+ [% FOR don IN donations.by_month.$month.donations %]
+ <li><b>[% don.who %]</b> donated <b>[% don.amount %]</b> Euros on [% date.format(don.date) %]</li>
+ [%- END -%]
+ </ul>
+ </body>
+</html>