From 8dd73ca07434da6572c517fe90e271f79c183b73 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 28 Oct 2021 18:08:29 +0200 Subject: remove geotrain feature (i.e., search trains, not stations, in the vicinity) it was a nice little experiment, but ultimately not fit for permanent use. --- lib/DBInfoscreen.pm | 1 - lib/DBInfoscreen/Controller/Static.pm | 10 ---------- templates/geotrain.html.ep | 5 ----- templates/landingpage.html.ep | 4 ---- 4 files changed, 20 deletions(-) delete mode 100644 templates/geotrain.html.ep diff --git a/lib/DBInfoscreen.pm b/lib/DBInfoscreen.pm index 12da336..ef3e0a0 100644 --- a/lib/DBInfoscreen.pm +++ b/lib/DBInfoscreen.pm @@ -357,7 +357,6 @@ sub startup { $r->get('/_auto')->to('static#geostop'); $r->get('/_autostop')->to('static#geostop'); - $r->get('/_autotrain')->to('static#geotrain'); $r->get('/_datenschutz')->to('static#privacy'); diff --git a/lib/DBInfoscreen/Controller/Static.pm b/lib/DBInfoscreen/Controller/Static.pm index 16eeb9a..e30b34f 100644 --- a/lib/DBInfoscreen/Controller/Static.pm +++ b/lib/DBInfoscreen/Controller/Static.pm @@ -49,16 +49,6 @@ sub geostop { ); } -sub geotrain { - my ($self) = @_; - - $self->render( - 'geotrain', - with_geotrain => 1, - hide_opts => 1 - ); -} - sub about { my ($self) = @_; diff --git a/templates/geotrain.html.ep b/templates/geotrain.html.ep deleted file mode 100644 index 0193167..0000000 --- a/templates/geotrain.html.ep +++ /dev/null @@ -1,5 +0,0 @@ -
-
Experimentelles Beta-Feature

Züge auf der Strecke:
-
Bitte warten…
-
-
diff --git a/templates/landingpage.html.ep b/templates/landingpage.html.ep index ae72867..06c2d7d 100644 --- a/templates/landingpage.html.ep +++ b/templates/landingpage.html.ep @@ -11,10 +11,6 @@ -

Oder hier angeben:

-- cgit v1.2.3