diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-11-24 20:29:52 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-11-24 20:29:52 +0100 |
commit | b3b0a055b9b4c3ab332f75070ce1fa80a3638105 (patch) | |
tree | 789528522c157ca719c5b68dfe4af756305fa188 /templates/history_map.html.ep | |
parent | 9782cee53d51dbb65c9b27828f3c28e401849399 (diff) |
improve get_user_travels performance, most notably when rendering map1.10.3
only create DateTime objects when needed
Diffstat (limited to 'templates/history_map.html.ep')
-rw-r--r-- | templates/history_map.html.ep | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/history_map.html.ep b/templates/history_map.html.ep index 90b5647..97b2276 100644 --- a/templates/history_map.html.ep +++ b/templates/history_map.html.ep @@ -1,7 +1,7 @@ <div class="row"> <div class="col s12"> % if (@{$station_coordinates}) { - Zugfahrten zwischen <%= $range_from->strftime('%d.%m.%Y') %> und <%= $range_to->strftime('%d.%m.%Y') %> + Alle bisherigen Zugfahrten % } % else { Keine Zugfahrten gefunden. |