aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmktreasurer4
-rw-r--r--tmpl/donations.html2
-rw-r--r--tmpl/donations_by_year.html2
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 @@
<h3>Donations per year</h3>
<ul>
[%- FOR year IN donations.by_year.keys.sort.reverse %]
- <li><a href="donations_[% year %].html">[% year %]: [% donations.by_year.$year.total %] Euros</a></li>
+ <li><a href="donations_y_[% year %].html">[% year %]: [% donations.by_year.$year.total %] Euros</a></li>
[%- END %]
</ul>
<small>Last update: [% date.format(last_update, format => '%Y/%m/%d %H:%M:%S') %]</small>
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 @@
<ul>
[%- FOR month IN donations.by_month.keys.sort -%]
[%- IF donations.by_month.$month.year == year -%]
- <li><a href="donations_[% month %].html">[% month %]: [% donations.by_month.$month.total %] Euros</a></li>
+ <li><a href="donations_m_[% month %].html">[% month %]: [% donations.by_month.$month.total %] Euros</a></li>
[%- END -%]
[%- END -%]
</ul>