14 lines
442 B
Text
14 lines
442 B
Text
|
% my $since = get_user_data()->{registered_at};
|
||
|
% 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', journeys => stash('journeys');
|
||
|
% }
|