Loading templates/_checked_in.html.ep +4 −4 Original line number Diff line number Diff line Loading @@ -8,15 +8,12 @@ data-arrival="<%= $journey->{real_arrival}->epoch %>"> % if ($journey->{departure_countdown} > 120) { Abfahrt in <%= sprintf('%.f', $journey->{departure_countdown} / 60) %> Minuten <br/>von Gleis <%= $journey->{dep_platform} %> % } % elsif ($journey->{departure_countdown} > 60) { Abfahrt in einer Minute <br/>von Gleis <%= $journey->{dep_platform} %> % } % elsif ($journey->{departure_countdown} > 0) { Abfahrt in weniger als einer Minute <br/>von Gleis <%= $journey->{dep_platform} %> % } % elsif (defined $journey->{arrival_countdown}) { % if ($journey->{arrival_countdown} > 60) { Loading @@ -29,13 +26,16 @@ % else { Ziel erreicht % } % if ($journey->{arrival_countdown} < (60 * 15)) { % if ($journey->{arrival_countdown} < (60 * 15) and $journey->{arr_platform}) { <br/>auf Gleis <%= $journey->{arr_platform} %> % } % } % elsif ($journey->{arr_name}) { Ankunft in mehr als zwei Stunden % } % if ($journey->{departure_countdown} > 0 and $journey->{dep_platform}) { <br/>von Gleis <%= $journey->{dep_platform} %> % } </div> <div class="progress" style="height: 1ex;"> <div class="determinate" style="width: <%= sprintf('%.2f', 100 * ($journey->{journey_completion} // 0)); %>%;"></div> Loading templates/_connections.html.ep +2 −2 Original line number Diff line number Diff line Loading @@ -22,7 +22,7 @@ % if ($train->departure_delay) { %= sprintf('(%+d)', $train->departure_delay) % } <br/>Gleis <%= $train->platform %></td> <br/>Gleis <%= $train->platform || '?' %></td> </tr> % } </tbody></table></div> Loading Loading @@ -50,7 +50,7 @@ % if ($train->departure_delay) { %= sprintf('(%+d)', $train->departure_delay) % } </td><td>Gleis <%= $train->platform %></td> </td><td>Gleis <%= $train->platform || '?' %></td> </tr> % } </tbody></table></div> templates/_public_status_card.html.ep +1 −1 Original line number Diff line number Diff line Loading @@ -33,7 +33,7 @@ % else { Ziel erreicht % } % if ($journey->{arrival_countdown} < (60 * 15)) { % if ($journey->{arrival_countdown} < (60 * 15) and $journey->{arr_platform}) { <br/>auf Gleis <%= $journey->{arr_platform} %> % } % } Loading Loading
templates/_checked_in.html.ep +4 −4 Original line number Diff line number Diff line Loading @@ -8,15 +8,12 @@ data-arrival="<%= $journey->{real_arrival}->epoch %>"> % if ($journey->{departure_countdown} > 120) { Abfahrt in <%= sprintf('%.f', $journey->{departure_countdown} / 60) %> Minuten <br/>von Gleis <%= $journey->{dep_platform} %> % } % elsif ($journey->{departure_countdown} > 60) { Abfahrt in einer Minute <br/>von Gleis <%= $journey->{dep_platform} %> % } % elsif ($journey->{departure_countdown} > 0) { Abfahrt in weniger als einer Minute <br/>von Gleis <%= $journey->{dep_platform} %> % } % elsif (defined $journey->{arrival_countdown}) { % if ($journey->{arrival_countdown} > 60) { Loading @@ -29,13 +26,16 @@ % else { Ziel erreicht % } % if ($journey->{arrival_countdown} < (60 * 15)) { % if ($journey->{arrival_countdown} < (60 * 15) and $journey->{arr_platform}) { <br/>auf Gleis <%= $journey->{arr_platform} %> % } % } % elsif ($journey->{arr_name}) { Ankunft in mehr als zwei Stunden % } % if ($journey->{departure_countdown} > 0 and $journey->{dep_platform}) { <br/>von Gleis <%= $journey->{dep_platform} %> % } </div> <div class="progress" style="height: 1ex;"> <div class="determinate" style="width: <%= sprintf('%.2f', 100 * ($journey->{journey_completion} // 0)); %>%;"></div> Loading
templates/_connections.html.ep +2 −2 Original line number Diff line number Diff line Loading @@ -22,7 +22,7 @@ % if ($train->departure_delay) { %= sprintf('(%+d)', $train->departure_delay) % } <br/>Gleis <%= $train->platform %></td> <br/>Gleis <%= $train->platform || '?' %></td> </tr> % } </tbody></table></div> Loading Loading @@ -50,7 +50,7 @@ % if ($train->departure_delay) { %= sprintf('(%+d)', $train->departure_delay) % } </td><td>Gleis <%= $train->platform %></td> </td><td>Gleis <%= $train->platform || '?' %></td> </tr> % } </tbody></table></div>
templates/_public_status_card.html.ep +1 −1 Original line number Diff line number Diff line Loading @@ -33,7 +33,7 @@ % else { Ziel erreicht % } % if ($journey->{arrival_countdown} < (60 * 15)) { % if ($journey->{arrival_countdown} < (60 * 15) and $journey->{arr_platform}) { <br/>auf Gleis <%= $journey->{arr_platform} %> % } % } Loading