summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-09-20 19:39:14 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-09-20 19:39:14 +0200
commit3582ba317bdb736b6dc65e32d84fe09e7929ed8f (patch)
tree434fcd0fe829f507bbd3906edc27cb19c03de71a
parent1cb26e205374370809ba6e325e135f20acd69f23 (diff)
checked in view: link to marudor.de detail view for wagon order
-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 7219b9e..053904a 100644
--- a/templates/_checked_in.html.ep
+++ b/templates/_checked_in.html.ep
@@ -72,7 +72,7 @@
% @wagons = reverse @wagons;
% }
% }
- <a href="https://marudor.de/<%= $journey->{dep_name} %>?selectedDetail=<%= $journey->{train_id} %>">
+ <a href="https://marudor.de/details/<%= $journey->{train_type} %>%20<%= $journey->{train_no} %>/<%= DateTime->now(time_zone => 'Europe/Berlin')->epoch %>000">
%= $direction
% for my $wagon (@wagons) {
% if (not ($wagon->is_locomotive or $wagon->is_powercar)) {