summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/DBInfoscreen.pm1
-rw-r--r--lib/DBInfoscreen/Controller/Static.pm10
-rw-r--r--templates/geotrain.html.ep5
-rw-r--r--templates/landingpage.html.ep4
4 files changed, 0 insertions, 20 deletions
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 @@
-<div class="geolocation">
-<div class="candidateheader"><a href="https://finalrewind.org/interblag/entry/dbf-zuglokalisierung/">Experimentelles Beta-Feature</a><br/><br/>Züge auf der Strecke:</div>
-<div class="candidatestatus">Bitte warten…</div>
-<div class="candidatelist"></div>
-</div> <!-- geolocation -->
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 @@
<p class="geolink">
<a class="button" href="<%= url_for('_autostop')->to_abs->scheme('https') %>">Stationen in der Umgebung suchen</a>
</p>
-<p class="geolink">
-Oder
-<a href="<%= url_for('_autotrain')->to_abs->scheme('https') %>">Züge in der Umgebung suchen</a> (Beta-Feature)
-</p>
<p>
Oder hier angeben:
</p>