diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2025-06-21 20:48:53 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2025-06-21 20:48:53 +0200 |
commit | da87e97a0b954860e0a53b8a0f475580d44ad73d (patch) | |
tree | 3626df8b8792df43fcb0edf266059f70fbb92573 /templates/departures.html.ep | |
parent | ca2226b9238ac2159d0001a071edf33915f062ae (diff) |
Add bare-bones support for manual checkins (still bound to a specific backend)
Extension opportunities (maybe, eventually)
* provide datetimes of intermediate stops
* provide an API for real-time data updates
* look up stops that travelynx does not yet know about rather than rejecting
them outright
Diffstat (limited to 'templates/departures.html.ep')
-rw-r--r-- | templates/departures.html.ep | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/departures.html.ep b/templates/departures.html.ep index 16b5f3c..6df48a8 100644 --- a/templates/departures.html.ep +++ b/templates/departures.html.ep @@ -190,3 +190,11 @@ % } </div> </div> + +% if (not $user_status->{checked_in}) { + <div class="row"> + <div class="col s12 center-align"> + <a class="btn-small" href="<%= url_for('checkinadd')->query({dbris => $dbris, efa => $efa, hafas => $hafas, motis => $motis, dep_station => $station}) %>"><i class="material-icons left" aria-hidden="true">add</i><span>manuell einchecken</span></a> + </div> + </div> +% } |