blob: 6aa0c2d722eb2a2cc1ece3d2ca68dc1a9ca0bb3d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
%= include '_history_years', current => $year;
% if (stash('statistics')) {
%= include '_history_stats', stats => stash('statistics');
% }
<div class="row">
% if (stash('have_review')) {
<div class="col s12 m12 l5 center-align">
<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>
</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">
<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>
</div>
% }
</div>
%= include '_history_months_for_year';
% 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>
% }
% if (stash('journeys')) {
%= include '_history_trains', date_format => '%d.%m.', journeys => stash('journeys');
% }
|