From 783a540cb081732aa6336d5441e2ef2738ccb1cf Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 16 Nov 2019 23:47:18 +0100 Subject: history map: show time range; handle users with no journeys --- templates/history_map.html.ep | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'templates/history_map.html.ep') diff --git a/templates/history_map.html.ep b/templates/history_map.html.ep index 808b033..9f4c771 100644 --- a/templates/history_map.html.ep +++ b/templates/history_map.html.ep @@ -1,6 +1,11 @@
- Karte aller bisherigen Zugfahrten: + % if (@{$station_coordinates}) { + Zugfahrten zwischen <%= $range_from->strftime('%d.%m.%Y') %> und <%= $range_to->strftime('%d.%m.%Y') %> + % } + % else { + Keine Zugfahrten gefunden. + % }
-- cgit v1.2.3