diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-04-23 18:08:07 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-04-23 18:08:07 +0200 |
commit | e168d9cd39c38b8e5a1994c8bf11376d26e9ea77 (patch) | |
tree | dee321d330a8fc9c106c18863db179972c9abac6 /templates/edit_journey.html.ep | |
parent | 812be4f0cbeb74db379a2c931ceb2c88bd9fabf7 (diff) |
Use one row per journey instead of split checkin/checkout entries
Whether a user is in transit or not is now determined by an entry in the
in_transit table instead of a dangling checkin.
All completed journeys are stored in the "journeys" table.
This does most of the work needed for automatic checkout. However, note that
the corresponding worker process is not implemented yet.
Diffstat (limited to 'templates/edit_journey.html.ep')
-rw-r--r-- | templates/edit_journey.html.ep | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/edit_journey.html.ep b/templates/edit_journey.html.ep index 0418d52..c37adba 100644 --- a/templates/edit_journey.html.ep +++ b/templates/edit_journey.html.ep @@ -80,7 +80,7 @@ </div> <div class="row"> <div class="col s6 m6 l6 center-align"> - <a href="/journey/<%= current_user()->{id} %>-<%= param('journey_id') %>" class="waves-effect waves-light btn"> + <a href="/journey/<%= param('journey_id') %>" class="waves-effect waves-light btn"> Abbrechen </a> </div> |