summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-12-18 22:02:47 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-12-18 22:02:47 +0100
commitc0526ca0f9b05617a4590167b79e7466af7fd081 (patch)
treee28e189480326c56b97fcdbbbad967b845512128
parent01acb87f2a7367844fe56349476814ee9f7e47dd (diff)
use generic path for static wagon order
-rw-r--r--lib/DBInfoscreen.pm2
-rw-r--r--templates/_train_details.html.ep2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/DBInfoscreen.pm b/lib/DBInfoscreen.pm
index 4fca3b6..8bd7022 100644
--- a/lib/DBInfoscreen.pm
+++ b/lib/DBInfoscreen.pm
@@ -414,7 +414,7 @@ sub startup {
$r->get('/_impressum')->to('static#imprint');
$r->get('/_wr/:train/:departure')->to('wagenreihung#wagenreihung');
- $r->get('/zb-db/:train')->to('wagenreihung#zugbildung_db');
+ $r->get('/wr/:train')->to('wagenreihung#zugbildung_db');
$r->get('/_ajax_mapinfo/:tripid/:lineno')->to('map#ajax_route');
$r->get('/map/:tripid/:lineno')->to('map#route');
diff --git a/templates/_train_details.html.ep b/templates/_train_details.html.ep
index 7c3ee4a..c1c7293 100644
--- a/templates/_train_details.html.ep
+++ b/templates/_train_details.html.ep
@@ -113,7 +113,7 @@
</a>
% }
% elsif ($icetype and $icetype->[2] and $linetype eq 'fern') {
- <a class="smallbutton" href="/zb-db/<%= $departure->{train_no} %>"><i class="material-icons" aria-hidden="true">train</i> Plan: <%= $icetype->[0] %></a>
+ <a class="smallbutton" href="/wr/<%= $departure->{train_no} %>"><i class="material-icons" aria-hidden="true">train</i> Plan: <%= $icetype->[0] %></a>
% }
% elsif ($icetype and $icetype->[1] and $linetype eq 'fern') {
<span class="disabledbutton"><i class="material-icons" aria-hidden="true">train</i> Plan: <%= $icetype->[0] %></span>