From 0229768fe6730a559a42a32d2e9a37fef202bc11 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Mon, 1 Jan 2024 13:00:13 +0100 Subject: history_map: also show header for custom date ranges --- templates/history_map.html.ep | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/templates/history_map.html.ep b/templates/history_map.html.ep index 8b6323d..b6ebd9c 100644 --- a/templates/history_map.html.ep +++ b/templates/history_map.html.ep @@ -1,7 +1,10 @@
% if (stash('year')) { - Alle Fahrten in <%= stash('year') %> + Fahrten im Jahr <%= stash('year') %> + % } + % elsif (param('filter_after') and param('filter_before')) { + Fahrten zwischen dem <%= param('filter_after') %> und dem <%= param('filter_before') %> % } % elsif (@{$station_coordinates}) { Alle bisherigen Fahrten -- cgit v1.2.3