From 2775dcec50a68b49e67d5507629cd0194e6fd5ad Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Fri, 31 May 2013 12:48:14 +0000 Subject: Add page listing all donations git-svn-id: svn+ssh://svn.mageia.org/svn/soft/mga-treasurer/trunk@8411 5b7c3c08-40e5-403b-9995-ace06908e4af --- NEWS | 1 + mktreasurer | 1 + tmpl/donations.html | 8 ++++++++ tmpl/donations_all.html | 15 +++++++++++++++ 4 files changed, 25 insertions(+) create mode 100644 tmpl/donations_all.html diff --git a/NEWS b/NEWS index 99fc183..79d83d2 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,4 @@ +- add page listing all donations - add list of people who donated in JSON format - add donations_who.html page listing all people who donated money - provide some data in JSON format diff --git a/mktreasurer b/mktreasurer index 44b8d56..fda59ad 100755 --- a/mktreasurer +++ b/mktreasurer @@ -272,6 +272,7 @@ sub output_pages { last_update => $last_update, }; process_template($template, 'donations', $vars, 'donations'); + process_template($template, 'donations_all', $vars, 'donations_all'); process_template($template, 'donations_who', $vars, 'donations_who'); process_template($template, 'transactions', $vars, 'transactions'); process_template($template, 'index', $vars, 'index'); diff --git a/tmpl/donations.html b/tmpl/donations.html index 908a774..d0766e1 100644 --- a/tmpl/donations.html +++ b/tmpl/donations.html @@ -50,6 +50,14 @@
  • [% year %]: [% donations.by_year.$year.total %] Euros
  • [%- END %] + +

    Donations list

    +

    + The list of donations received is available on this page. +

    + +

    Last update: [% date.format(last_update, format => '%Y/%m/%d %H:%M:%S') %] +

    diff --git a/tmpl/donations_all.html b/tmpl/donations_all.html new file mode 100644 index 0000000..f08fc9e --- /dev/null +++ b/tmpl/donations_all.html @@ -0,0 +1,15 @@ + + + + [% config.sitename %]: Donations list + + +

    Mageia.Org donations list

    + + + -- cgit v1.2.1