From d24ec958659270d5f409b30f1799342c1e345012 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Wed, 15 May 2013 13:47:22 +0000 Subject: Rename donations per month and per year pages git-svn-id: svn+ssh://svn.mageia.org/svn/soft/mga-treasurer/trunk@8244 5b7c3c08-40e5-403b-9995-ace06908e4af --- mktreasurer | 4 ++-- tmpl/donations.html | 2 +- tmpl/donations_by_year.html | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mktreasurer b/mktreasurer index 93967a7..1de2cf8 100755 --- a/mktreasurer +++ b/mktreasurer @@ -111,7 +111,7 @@ sub output_pages { month => $month, donations => $donations, }; - process_template($template, 'donations_by_month', $vars, "donations_$month"); + process_template($template, 'donations_by_month', $vars, "donations_m_$month"); } foreach my $year (keys $donations->{by_year}) { @@ -120,7 +120,7 @@ sub output_pages { year => $year, donations => $donations, }; - process_template($template, 'donations_by_year', $vars, "donations_$year"); + process_template($template, 'donations_by_year', $vars, "donations_y_$year"); } my $vars = { diff --git a/tmpl/donations.html b/tmpl/donations.html index 8eac51c..1508a78 100644 --- a/tmpl/donations.html +++ b/tmpl/donations.html @@ -22,7 +22,7 @@

Donations per year

Last update: [% date.format(last_update, format => '%Y/%m/%d %H:%M:%S') %] diff --git a/tmpl/donations_by_year.html b/tmpl/donations_by_year.html index 9db18d0..f81325c 100644 --- a/tmpl/donations_by_year.html +++ b/tmpl/donations_by_year.html @@ -20,7 +20,7 @@ -- cgit v1.2.1