mirror of
https://github.com/derf/travelynx
synced 2024-12-13 14:32:34 +00:00
824fb6973e
(cherry picked from commit 20e8fd3985
)
Signed-off-by: Birte Kristina Friesel <derf@finalrewind.org>
23 lines
1,022 B
Text
23 lines
1,022 B
Text
<div class="card">
|
|
<div class="card-content">
|
|
<span class="card-title">Ausgecheckt</span>
|
|
<p>Aus
|
|
%= include '_format_train', journey => $journey
|
|
bis <a href="/s/<%= $journey->{arr_eva} %>?hafas=<%= $journey->{train_id} =~ m{[|]} ? 1 : 0 %>"><%= $journey->{arr_name} %></a></p>
|
|
% if (@{stash('connections_iris') // [] } or @{stash('connections_hafas') // []}) {
|
|
<span class="card-title" style="margin-top: 2ex;">Verbindungen</span>
|
|
<p>Fahrt auswählen zum Einchecken mit Zielwahl.</p>
|
|
% if (@{stash('connections_iris') // [] }) {
|
|
%= include '_connections', connections => stash('connections_iris'), checkin_from => $journey->{arr_eva};
|
|
% }
|
|
% if (@{stash('connections_hafas') // [] }) {
|
|
%= include '_connections_hafas', connections => stash('connections_hafas'), checkin_from => $journey->{arr_eva};
|
|
% }
|
|
% }
|
|
</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>
|