wagon order: link to marudor.de for details

This commit is contained in:
Daniel Friesel 2019-06-24 21:11:02 +02:00
parent 36121ccffc
commit 7ef47cdbf9

View file

@ -46,6 +46,7 @@
% } % }
% if (my $wr = $journey->{wagonorder}) { % if (my $wr = $journey->{wagonorder}) {
<br/> <br/>
<a href="https://beta.marudor.de/<%= $journey->{dep_name} %>?selectedDetail=<%= $journey->{train_id} %>">
%= $wr->direction == 100 ? '→' : '←'; %= $wr->direction == 100 ? '→' : '←';
% for my $wagon ($wr->wagons) { % for my $wagon ($wr->wagons) {
% if (not ($wagon->is_locomotive or $wagon->is_powercar)) { % if (not ($wagon->is_locomotive or $wagon->is_powercar)) {
@ -53,6 +54,7 @@
% } % }
% } % }
%= $wr->direction == 100 ? '→' : '←'; %= $wr->direction == 100 ? '→' : '←';
</a>
% } % }
</div> </div>
<div class="progress" style="height: 1ex;"> <div class="progress" style="height: 1ex;">