summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-06-24 21:11:02 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-06-24 21:11:02 +0200
commit7ef47cdbf999429977a2d2f02f3dce3c9f0123c0 (patch)
treeacc18b63997ff7428284e85539e56b681ae830a8
parent36121ccffc8dc65b27bcfbe1299fb6a7f9a5f77c (diff)
wagon order: link to marudor.de for details
-rw-r--r--templates/_checked_in.html.ep2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep
index 0f1dcb2..07ff161 100644
--- a/templates/_checked_in.html.ep
+++ b/templates/_checked_in.html.ep
@@ -46,6 +46,7 @@
% }
% if (my $wr = $journey->{wagonorder}) {
<br/>
+ <a href="https://beta.marudor.de/<%= $journey->{dep_name} %>?selectedDetail=<%= $journey->{train_id} %>">
%= $wr->direction == 100 ? '→' : '←';
% for my $wagon ($wr->wagons) {
% if (not ($wagon->is_locomotive or $wagon->is_powercar)) {
@@ -53,6 +54,7 @@
% }
% }
%= $wr->direction == 100 ? '→' : '←';
+ </a>
% }
</div>
<div class="progress" style="height: 1ex;">