diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-03-31 08:45:51 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-03-31 08:45:51 +0200 |
commit | a8a3aa17cec8fbbfe3e4d4cf4df0331e0b5b80d8 (patch) | |
tree | d35c1cc110ed42e6630ff59ab8af78962f889f22 /templates/departures.html.ep | |
parent | 341665c79bde28129d6ca78abf60a04aed6e49e7 (diff) |
Perform undo by deleting the erroneous database entry
Diffstat (limited to 'templates/departures.html.ep')
-rw-r--r-- | templates/departures.html.ep | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/departures.html.ep b/templates/departures.html.ep index 00c1c0e..1240d1d 100644 --- a/templates/departures.html.ep +++ b/templates/departures.html.ep @@ -15,7 +15,7 @@ </div> </div> % } - % elsif ($status->{timestamp_delta} < 600) { + % elsif ($status->{timestamp_delta} < 180) { <div class="card grey darken-4"> <div class="card-content white-text"> <span class="card-title">Ausgecheckt</span> @@ -23,7 +23,7 @@ bis <%= $status->{station_name} %></p> </div> <div class="card-action"> - <a class="action-undo"> + <a class="action-undo" data-id="<%= $status->{action_id} %>"> <i class="material-icons">undo</i> Rückgängig? </a> </div> |