summaryrefslogtreecommitdiff
path: root/templates/history_by_year.html.ep
blob: 97c223f612de56cf2dce66d2ee1592df4c1d1215 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
% my $since = get_user_data()->{registered_at};
% my $now = DateTime->now(time_zone => 'Europe/Berlin');
%= include '_history_years', current => $year, since => $since, now => $now;

<h1>Jahresrückblick <%= $year %></h1>

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

% if (stash('journeys')) {
	%= include '_history_trains', journeys => stash('journeys');
% }