From 67438a91f1f65d7de5743bfdf8455c473b75e885 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sat, 11 May 2013 09:51:05 +0000 Subject: First version git-svn-id: svn+ssh://svn.mageia.org/svn/soft/mga-treasurer/trunk@8203 5b7c3c08-40e5-403b-9995-ace06908e4af --- tmpl/donations.html | 31 +++++++++++++++++++++++++++++++ tmpl/donations_by_month.html | 28 ++++++++++++++++++++++++++++ tmpl/donations_by_year.html | 29 +++++++++++++++++++++++++++++ 3 files changed, 88 insertions(+) create mode 100644 tmpl/donations.html create mode 100644 tmpl/donations_by_month.html create mode 100644 tmpl/donations_by_year.html (limited to 'tmpl') diff --git a/tmpl/donations.html b/tmpl/donations.html new file mode 100644 index 0000000..aa8f80e --- /dev/null +++ b/tmpl/donations.html @@ -0,0 +1,31 @@ +[% SET login = users.$user.uid.0 %] + + + + [% config.sitename %] Donations + + + [%- USE date(format='%Y/%m/%d') -%] +

Mageia.Org donations

+ [% donations.total_30 %] Euros have been donated to Mageia.org in the last 30 days. + + [%- l = 5 -%] +

Last [% l %] donations

+ + +

Donations per year

+ + Last update: [% date.format(last_update, format => '%Y/%m/%d %H:%M:%S') %] + + 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 %] + + + + [% config.sitename %]: Donations for [% month %] + + +

Mageia.Org donations for month [% month %]

+

Summary

+ +

Donations list

+ + + 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 %] + + + + [% config.sitename %]: Donations for [% year %] + + +

Mageia.Org donations for year [% year %]

+

Summary

+ +

Donations for each month

+ + + -- cgit v1.2.1