Loading templates/_checked_in.html.ep +230 −212 Original line number Diff line number Diff line <div class="card autorefresh"> <div class="autorefresh"> <div class="card"> <div class="card-content"> <i class="material-icons small right sync-failed-marker grey-text" style="display: none;">sync_problem</i> <span class="card-title">Eingecheckt in <%= $journey->{train_type} %> <%= $journey->{train_no} %></span> Loading Loading @@ -195,12 +196,8 @@ data-station="<%= $journey->{arr_name}%>">Jetzt auschecken</a>. </p> % } % elsif ($journey->{arr_name}) { <p style="margin-top: 2em;">Ziel ändern?</p> % } % else { % elsif (not $journey->{arr_name}) { <p>Ziel wählen:</p> % } <table> <tbody> % my $is_after = 0; Loading @@ -214,14 +211,6 @@ % } </tbody> </table> % if ($journey->{arr_name}) { <p> Falls das Backend ausgefallen ist oder der Zug aus anderen Gründen verloren ging: <a class="action-checkout" data-force="1" data-station="<%= $journey->{arr_name} %>">Ohne Echtzeitdaten in <%= $journey->{arr_name} %> auschecken</a>. </p> % } </div> <div class="card-action"> Loading @@ -244,3 +233,32 @@ % } </div> </div> % if ($journey->{arr_name}) { <div class="card" style="margin-top: 3em;"> <div class="card-content"> <i class="material-icons small right sync-failed-marker grey-text" style="display: none;">sync_problem</i> <span class="card-title">Ziel ändern?</span> <table> <tbody> % my $is_after = 0; % for my $station (@{$journey->{route_after}}) { % if ($journey->{arr_name} and $station->[0] eq $journey->{arr_name}) { <tr><td><b><a class="action-checkout" data-station="<%= $station->[0] %>"><%= $station->[0] %></a></b></td></tr> % } % else { <tr><td><a class="action-checkout" data-station="<%= $station->[0] %>"><%= $station->[0] %></a></td></tr> % } % } </tbody> </table> <p> Falls das Backend ausgefallen ist oder der Zug aus anderen Gründen verloren ging: <a class="action-checkout" data-force="1" data-station="<%= $journey->{arr_name} %>">Ohne Echtzeitdaten in <%= $journey->{arr_name} %> auschecken</a>. </p> </div> </div> % } </div> Loading
templates/_checked_in.html.ep +230 −212 Original line number Diff line number Diff line <div class="card autorefresh"> <div class="autorefresh"> <div class="card"> <div class="card-content"> <i class="material-icons small right sync-failed-marker grey-text" style="display: none;">sync_problem</i> <span class="card-title">Eingecheckt in <%= $journey->{train_type} %> <%= $journey->{train_no} %></span> Loading Loading @@ -195,12 +196,8 @@ data-station="<%= $journey->{arr_name}%>">Jetzt auschecken</a>. </p> % } % elsif ($journey->{arr_name}) { <p style="margin-top: 2em;">Ziel ändern?</p> % } % else { % elsif (not $journey->{arr_name}) { <p>Ziel wählen:</p> % } <table> <tbody> % my $is_after = 0; Loading @@ -214,14 +211,6 @@ % } </tbody> </table> % if ($journey->{arr_name}) { <p> Falls das Backend ausgefallen ist oder der Zug aus anderen Gründen verloren ging: <a class="action-checkout" data-force="1" data-station="<%= $journey->{arr_name} %>">Ohne Echtzeitdaten in <%= $journey->{arr_name} %> auschecken</a>. </p> % } </div> <div class="card-action"> Loading @@ -244,3 +233,32 @@ % } </div> </div> % if ($journey->{arr_name}) { <div class="card" style="margin-top: 3em;"> <div class="card-content"> <i class="material-icons small right sync-failed-marker grey-text" style="display: none;">sync_problem</i> <span class="card-title">Ziel ändern?</span> <table> <tbody> % my $is_after = 0; % for my $station (@{$journey->{route_after}}) { % if ($journey->{arr_name} and $station->[0] eq $journey->{arr_name}) { <tr><td><b><a class="action-checkout" data-station="<%= $station->[0] %>"><%= $station->[0] %></a></b></td></tr> % } % else { <tr><td><a class="action-checkout" data-station="<%= $station->[0] %>"><%= $station->[0] %></a></td></tr> % } % } </tbody> </table> <p> Falls das Backend ausgefallen ist oder der Zug aus anderen Gründen verloren ging: <a class="action-checkout" data-force="1" data-station="<%= $journey->{arr_name} %>">Ohne Echtzeitdaten in <%= $journey->{arr_name} %> auschecken</a>. </p> </div> </div> % } </div>