From f87306dc34e91ade3e55d67ac776fd5c7fd3bb15 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 2 Nov 2018 21:35:53 +0100 Subject: allow undo for checkins --- templates/landingpage.html.ep | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/landingpage.html.ep b/templates/landingpage.html.ep index 5d03262..00a67cc 100644 --- a/templates/landingpage.html.ep +++ b/templates/landingpage.html.ep @@ -7,7 +7,11 @@ Hallo, <%= $self->get_user_name %>!

Du bist gerade eingecheckt in <%= $status->{train_type} %> <%= $status->{train_no} %> - ab <%= $status->{station_name} %>.

+ ab <%= $status->{station_name} %>. + % if ($status->{timestamp_delta} < 3600) { + undo Rückgängig + % } +

Auschecken?

-- cgit v1.2.3