summaryrefslogtreecommitdiff
path: root/templates/landingpage.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/landingpage.html.ep')
-rw-r--r--templates/landingpage.html.ep6
1 files changed, 5 insertions, 1 deletions
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 @@
<span class="card-title">Hallo, <%= $self->get_user_name %>!</span>
<p>Du bist gerade eingecheckt in
<%= $status->{train_type} %> <%= $status->{train_no} %>
- ab <%= $status->{station_name} %>.</p>
+ ab <%= $status->{station_name} %>.
+ % if ($status->{timestamp_delta} < 3600) {
+ <a class="action-undo"><i class="material-icons">undo</i> Rückgängig</a>
+ % }
+ </p>
<p>Auschecken?</p>
<table>
<tbody>