From 47658b7496ee0081d80a14dde4b15ff275452848 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Tue, 2 Jan 2024 09:14:55 +0100 Subject: map header: support exclusive use of filter_from / filter_to --- templates/history_map.html.ep | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/history_map.html.ep b/templates/history_map.html.ep index 9218f76..833bf80 100644 --- a/templates/history_map.html.ep +++ b/templates/history_map.html.ep @@ -6,6 +6,12 @@ % elsif (param('filter_from') and param('filter_to')) { Fahrten zwischen dem <%= param('filter_from') %> und dem <%= param('filter_to') %> % } + % elsif (param('filter_from')) { + Fahrten ab dem <%= param('filter_from') %> + % } + % elsif (param('filter_to')) { + Fahrten bis einschließlich <%= param('filter_to') %> + % } % elsif (@{$station_coordinates}) { Alle bisherigen Fahrten % } -- cgit v1.2.3