diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-11-16 23:47:18 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-11-16 23:47:18 +0100 |
commit | 783a540cb081732aa6336d5441e2ef2738ccb1cf (patch) | |
tree | 2a889102917e6a75d24783f838e6eb56b58c6d8c /templates | |
parent | e0187c5308b1d228cb8a651fad97af097ad94d44 (diff) |
history map: show time range; handle users with no journeys
Diffstat (limited to 'templates')
-rw-r--r-- | templates/history_map.html.ep | 7 |
1 files changed, 6 insertions, 1 deletions
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 @@ <div class="row"> <div class="col s12"> - 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. + % } </div> </div> |