diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-01-05 10:02:54 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-01-05 10:02:54 +0100 |
commit | 7e825ba8a3480773e42823756355ff5e2367586c (patch) | |
tree | 34ffe76443375f4cb45e8e78abfd8421ae8baf5f /templates | |
parent | 75e54f73e5d9e935a9355c427422697bfd97d6f1 (diff) |
map: simplify error handling
Diffstat (limited to 'templates')
-rw-r--r-- | templates/route_map.html.ep | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/templates/route_map.html.ep b/templates/route_map.html.ep index 72ef215..215444f 100644 --- a/templates/route_map.html.ep +++ b/templates/route_map.html.ep @@ -1,12 +1,3 @@ -% if (my $err = stash('error')) { - <div class="container"> - <div class="error"> - <strong>Fehler bei der Routenabfrage</strong> -%= $err - </div> - </div> -% } -% else { <div class="container"> <div id="map" style="height: 500px;"> </div> @@ -51,4 +42,3 @@ for (var station_id in stations) { } </script> -% } |