diff options
author | Daniel Friesel <derf@finalrewind.org> | 2023-01-18 18:13:35 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2023-01-18 18:13:35 +0100 |
commit | e9373246175a0853fb56aff4a740f4db7dda7215 (patch) | |
tree | 0cde9fbc35979d15bb9636d50004f28782c29b24 /templates | |
parent | eb1ed1bb48d54077930d015144636f90b2fc9c15 (diff) |
landing page: show past stops if geolocation is unavailable
Diffstat (limited to 'templates')
-rw-r--r-- | templates/landingpage.html.ep | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/landingpage.html.ep b/templates/landingpage.html.ep index 03d0eca..a4bf10c 100644 --- a/templates/landingpage.html.ep +++ b/templates/landingpage.html.ep @@ -49,7 +49,7 @@ <div class="card-content"> <span class="card-title">Hallo, <%= current_user->{name} %>!</span> <p>Du bist gerade nicht eingecheckt.</p> - <div class="geolocation"> + <div class="geolocation" data-recent="<%= join('|', map { $_->{eva} . ';' . $_->{name} } @{stash('recent_targets') // []} ) %>"> <button class="btn waves-effect waves-light btn-flat">Stationen in der Umgebung abfragen</button> </div> %= form_for 'list_departures' => begin |