From 2c229c0317dece4c80b5ca610fa80d5fba50eabd Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Mon, 1 Jan 2024 12:58:59 +0100 Subject: map: show year in headline if set --- templates/history_map.html.ep | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/history_map.html.ep b/templates/history_map.html.ep index 18a623d..8b6323d 100644 --- a/templates/history_map.html.ep +++ b/templates/history_map.html.ep @@ -1,6 +1,9 @@
- % if (@{$station_coordinates}) { + % if (stash('year')) { + Alle Fahrten in <%= stash('year') %> + % } + % elsif (@{$station_coordinates}) { Alle bisherigen Fahrten % } % else { -- cgit v1.2.3