summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-03-20 17:44:26 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2024-03-20 17:44:26 +0100
commitd524463551d0c663ddf4048f05602f3eca139ddf (patch)
tree98162b7d8778a8235ca778a572609495d6699cc6
parent9e073a0fe848b79721c950a0c76612d4e384bc75 (diff)
use DBF for wagon order details (it's currently more detailed)
-rw-r--r--templates/_checked_in.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep
index 9f3cba5..fcf8888 100644
--- a/templates/_checked_in.html.ep
+++ b/templates/_checked_in.html.ep
@@ -76,7 +76,7 @@
% @wagons = reverse @wagons;
% }
% }
- <a href="https://bahn.expert/details/<%= $journey->{train_type} %>%20<%= $journey->{train_no} %>/<%= DateTime->now(time_zone => 'Europe/Berlin')->iso8601 %>?station=<%= $journey->{dep_eva} %>">
+ <a href="https://dbf.finalrewind.org/_wr/<%= $journey->{train_no} %>/<%= $journey->{sched_departure}->strftime('%Y%m%d%H%M') %>?e=<%= $journey->{dep_direction} // q{} %>">
%= $direction
% for my $wagon (@wagons) {
% if (not ($wagon->is_locomotive or $wagon->is_powercar)) {