travelynx/templates/history_by_year.html.ep
Daniel Friesel e07063c52c Add manual journey entry
Closes #3
2019-04-26 19:53:01 +02:00

13 lines
426 B
Text

% my $since = get_oldest_journey_ts();
% 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', date_format => '%d.%m.', journeys => stash('journeys');
% }