history_map: also show header for custom date ranges

This commit is contained in:
Birte Kristina Friesel 2024-01-01 13:00:13 +01:00
parent 2c229c0317
commit 0229768fe6
No known key found for this signature in database
GPG key ID: 19E6E524EBB177BA

View file

@ -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