summaryrefslogtreecommitdiff
path: root/templates/_checked_in.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/_checked_in.html.ep')
-rw-r--r--templates/_checked_in.html.ep11
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep
index fdf0ab8..b220000 100644
--- a/templates/_checked_in.html.ep
+++ b/templates/_checked_in.html.ep
@@ -260,6 +260,17 @@
% }
</div>
</div>
+ <div class="row" style="margin-top: 2em;">
+ <div class="col s6 center-align">
+ % my $url = 'https://marudor.de/details/' . $journey->{train_type} . ' ' . $journey->{train_no} . '/' . DateTime->now(time_zone => 'Europe/Berlin')->epoch . '000';
+ <a href="<%= $url %>" class="waves-effect waves-light btn"><i class="material-icons left">timeline</i> Zuglauf</a>
+ </div>
+ <div class="col s6 center-align">
+ % if ($journey->{extra_data}{trip_id}) {
+ <a href="https://dbf.finalrewind.org/map/<%= $journey->{extra_data}{trip_id} %>/<%= $journey->{train_line} || 0 %>" class="waves-effect waves-light btn"><i class="material-icons left">map</i> Karte</a>
+ % }
+ </div>
+ </div>
% if ($journey->{arr_name}) {
<div class="card" style="margin-top: 3em;">
<div class="card-content">