diff options
| author | Birte Kristina Friesel <derf@finalrewind.org> | 2025-12-09 19:54:14 +0100 |
|---|---|---|
| committer | Birte Kristina Friesel <derf@finalrewind.org> | 2025-12-09 19:54:14 +0100 |
| commit | 8f859a8b8e2336456dc019bbc5578e453f35a70d (patch) | |
| tree | 02432d8aaa7ca7bbf3178024b04193637eff3c6d /templates | |
| parent | 9c2e83fcaacc760df8815169ba0e805cfc5c199c (diff) | |
departures: do show suggestions if just checked out2.17.29
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/departures.html.ep | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/templates/departures.html.ep b/templates/departures.html.ep index fafbf0e..c5a7208 100644 --- a/templates/departures.html.ep +++ b/templates/departures.html.ep @@ -81,13 +81,6 @@ </div> </div> % } -% elsif ($user_status->{timestamp_delta} < 180) { - <div class="row"> - <div class="col s12"> - %= include '_checked_out', journey => $user_status; - </div> - </div> -% } % elsif (not param('train') and (@{stash('connections_iris') // []} or @{stash('connections_hafas') // []} or @{stash('suggestions') // []}) ) { % $have_connections = 1; <div class="row"> @@ -110,6 +103,13 @@ </div> </div> % } +% if ($user_status->{timestamp_delta} < 180) { + <div class="row"> + <div class="col s12"> + %= include '_checked_out', journey => $user_status; + </div> + </div> +% } <div class="row"> <div class="col s4 center-align"> |
