summaryrefslogtreecommitdiff
path: root/templates/history_by_month.html.ep
blob: 64d42c68a7f8204888306a78c0a933bb3ca9b63b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
% my $since = get_oldest_journey_ts();
% my $now = DateTime->now(time_zone => 'Europe/Berlin');
%= include '_history_months', current => "${year}/${month}", since => $since, now => $now;

<h1><%= stash('month_name') %> <%= stash('year') %></h1>

% if (stash('statistics')) {
	%= include '_history_stats', stats => stash('statistics');
% }

% if (stash('journeys')) {
	%= include '_history_trains', date_format => '%d.%m.', journeys => stash('journeys');
% }