summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-12-26 22:48:50 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-12-26 22:48:50 +0100
commitd9126b927f585650c2db3b264af274f84dd1e1d6 (patch)
tree7dc59518ffa813df9b9336da92424f93cbb503e4
parentfe6340abeb2b1b483ac6ed346474676f3984bdda (diff)
fix connections display1.12.2
-rwxr-xr-xlib/Travelynx/Controller/Traveling.pm2
-rw-r--r--templates/departures.html.ep6
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/Travelynx/Controller/Traveling.pm b/lib/Travelynx/Controller/Traveling.pm
index 6b8c766..7095312 100755
--- a/lib/Travelynx/Controller/Traveling.pm
+++ b/lib/Travelynx/Controller/Traveling.pm
@@ -395,7 +395,7 @@ sub station {
$self->render(
'departures',
- ds100 => $status->{station_ds100},
+ eva => $status->{station_eva},
results => \@results,
station => $status->{station_name},
related_stations => $status->{related_stations},
diff --git a/templates/departures.html.ep b/templates/departures.html.ep
index e71fa25..ae0dd2d 100644
--- a/templates/departures.html.ep
+++ b/templates/departures.html.ep
@@ -18,7 +18,7 @@
ab <%= $status->{dep_name} %></p>
</div>
<div class="card-action">
- <a class="action-checkout" data-station="<%= $ds100 %>" data-force="1">
+ <a class="action-checkout" data-station="<%= $eva %>" data-force="1">
Hier auschecken
</a>
</div>
@@ -33,12 +33,12 @@
</div>
</div>
% }
-% elsif (not param('train') and my @connections = get_connecting_trains(ds100 => $ds100)) {
+% elsif (not param('train') and my @connections = get_connecting_trains(eva => $eva)) {
% $have_connections = 1;
<div class="row">
<div class="col s12">
<p>Häufig genutzte Verbindungen – Zug auswählen zum Einchecken mit Zielwahl</p>
- %= include '_connections', connections => \@connections, checkin_from => $ds100;
+ %= include '_connections', connections => \@connections, checkin_from => $eva;
</div>
</div>
% }