aboutsummaryrefslogtreecommitdiffstats
path: root/tmpl/donations_by_year.html
diff options
context:
space:
mode:
Diffstat (limited to 'tmpl/donations_by_year.html')
-rw-r--r--tmpl/donations_by_year.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/tmpl/donations_by_year.html b/tmpl/donations_by_year.html
new file mode 100644
index 0000000..e7941bb
--- /dev/null
+++ b/tmpl/donations_by_year.html
@@ -0,0 +1,29 @@
+[% SET login = users.$user.uid.0 %]
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <title>[% config.sitename %]: Donations for [% year %]</title>
+ </head>
+ <body>
+ <h1>Mageia.Org donations for year [% year %]</h1>
+ <h3>Summary</h3>
+ <ul>
+ <li>
+ <b>Total</b>: [% donations.by_year.$year.total %] Euros
+ </li>
+ [%- FOR type IN donations.by_year.$year.type.keys -%]
+ <li>
+ <b>[% type %]</b>: [% donations.by_year.$year.type.$type %] Euros
+ </li>
+ [%- END -%]
+ </ul>
+ <h3>Donations for each month</h3>
+ <ul>
+ [%- FOR month IN donations.by_month.keys -%]
+ [%- IF donations.by_month.$month.year == year -%]
+ <li><a href="donations_[% month %].html">[% month %]: [% donations.by_month.$month.total %] Euros</a></li>
+ [%- END -%]
+ [%- END -%]
+ </ul>
+ </body>
+</html>