summaryrefslogtreecommitdiff
path: root/templates/route_map.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-01-05 10:02:54 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-01-05 10:02:54 +0100
commit7e825ba8a3480773e42823756355ff5e2367586c (patch)
tree34ffe76443375f4cb45e8e78abfd8421ae8baf5f /templates/route_map.html.ep
parent75e54f73e5d9e935a9355c427422697bfd97d6f1 (diff)
map: simplify error handling
Diffstat (limited to 'templates/route_map.html.ep')
-rw-r--r--templates/route_map.html.ep10
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>
-% }