travelynx/templates/_checked_out.html.ep

20 lines
781 B
Text
Raw Normal View History

2019-05-16 14:10:53 +00:00
<div class="card">
<div class="card-content">
<span class="card-title">Ausgecheckt</span>
<p>Aus <%= $journey->{train_type} %> <%= $journey->{train_no} %>
bis <a href="/s/<%= $journey->{arr_ds100} %>"><%= $journey->{arr_name} %></a></p>
2019-05-19 08:32:57 +00:00
% if (now()->epoch - $journey->{timestamp}->epoch < (30*60)) {
% if (my @connections = get_connecting_trains()) {
<span class="card-title" style="margin-top: 2ex;">Verbindungen</span>
<p>Zug auswählen zum Einchecken mit Zielwahl.</p>
2019-05-19 08:32:57 +00:00
%= include '_connections', connections => \@connections, checkin_from => $journey->{arr_ds100};
% }
% }
</div>
<div class="card-action">
<a class="action-undo" data-id="<%= $journey->{journey_id} %>">
<i class="material-icons">undo</i> Rückgängig?
</a>
</div>
</div>