history_map: also show header for custom date ranges
This commit is contained in:
parent
2c229c0317
commit
0229768fe6
1 changed files with 4 additions and 1 deletions
|
@ -1,7 +1,10 @@
|
|||
<div class="row">
|
||||
<div class="col s12">
|
||||
% if (stash('year')) {
|
||||
Alle Fahrten in <strong><%= stash('year') %></strong>
|
||||
Fahrten im Jahr <strong><%= stash('year') %></strong>
|
||||
% }
|
||||
% elsif (param('filter_after') and param('filter_before')) {
|
||||
Fahrten zwischen dem <strong><%= param('filter_after') %></strong> und dem <strong><%= param('filter_before') %></strong>
|
||||
% }
|
||||
% elsif (@{$station_coordinates}) {
|
||||
Alle bisherigen Fahrten
|
||||
|
|
Loading…
Reference in a new issue