2019-04-27 07:11:42 +00:00
|
|
|
%= include '_history_years', current => $year;
|
2019-04-07 16:44:33 +00:00
|
|
|
|
|
|
|
% if (stash('statistics')) {
|
|
|
|
%= include '_history_stats', stats => stash('statistics');
|
|
|
|
% }
|
2022-12-26 14:35:33 +00:00
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
% if (stash('have_review')) {
|
|
|
|
<div class="col s12 m12 l5 center-align">
|
2024-01-02 08:12:24 +00:00
|
|
|
<a href="/history/map?filter_from=1.1.<%= $year %>&filter_to=31.12.<%= $year %>" class="waves-effect waves-light btn"><i class="material-icons left" aria-hidden="true">map</i> Karte</a>
|
2022-12-26 14:35:33 +00:00
|
|
|
</div>
|
|
|
|
<div class="col s12 m12 l2"> </div>
|
|
|
|
<div class="col s12 m12 l5 center-align">
|
|
|
|
<a href="/history/<%= $year %>/review" class="waves-effect waves-light btn"><i class="material-icons left" aria-hidden="true">camera_roll</i> Rückblick</a>
|
|
|
|
</div>
|
|
|
|
% }
|
|
|
|
% else {
|
|
|
|
<div class="col s12 m12 l12 center-align">
|
2024-01-02 08:12:24 +00:00
|
|
|
<a href="/history/map?filter_from=1.1.<%= $year %>&filter_to=31.12.<%= $year %>" class="waves-effect waves-light btn"><i class="material-icons left" aria-hidden="true">map</i> Karte</a>
|
2022-12-26 14:35:33 +00:00
|
|
|
</div>
|
|
|
|
% }
|
|
|
|
</div>
|
|
|
|
|
2020-11-21 14:33:43 +00:00
|
|
|
%= include '_history_months_for_year';
|
2019-04-07 16:44:33 +00:00
|
|
|
|
2022-12-29 13:14:12 +00:00
|
|
|
% if (param('filter') and param('filter') eq 'single') {
|
|
|
|
<div class="row">
|
|
|
|
<div class="col s12 m12 l12">
|
|
|
|
<p>Die folgende Auflistung enthält nur Fahrten, deren Kombination aus Start und Ziel im aktuellen Jahr einmalig ist.</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
% }
|
|
|
|
|
2019-04-07 16:44:33 +00:00
|
|
|
% if (stash('journeys')) {
|
2019-04-26 17:53:01 +00:00
|
|
|
%= include '_history_trains', date_format => '%d.%m.', journeys => stash('journeys');
|
2019-04-07 16:44:33 +00:00
|
|
|
% }
|