map header: support exclusive use of filter_from / filter_to

This commit is contained in:
Birte Kristina Friesel 2024-01-02 09:14:55 +01:00
parent 1690a07d92
commit 47658b7496
No known key found for this signature in database
GPG key ID: 19E6E524EBB177BA

View file

@ -6,6 +6,12 @@
% elsif (param('filter_from') and param('filter_to')) {
Fahrten zwischen dem <strong><%= param('filter_from') %></strong> und dem <strong><%= param('filter_to') %></strong>
% }
% elsif (param('filter_from')) {
Fahrten ab dem <strong><%= param('filter_from') %></strong>
% }
% elsif (param('filter_to')) {
Fahrten bis einschließlich <strong><%= param('filter_to') %></strong>
% }
% elsif (@{$station_coordinates}) {
Alle bisherigen Fahrten
% }