From a8a3aa17cec8fbbfe3e4d4cf4df0331e0b5b80d8 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 31 Mar 2019 08:45:51 +0200 Subject: Perform undo by deleting the erroneous database entry --- templates/departures.html.ep | 4 ++-- templates/landingpage.html.ep | 8 ++++---- templates/layouts/default.html.ep | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'templates') 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 @@ % } - % elsif ($status->{timestamp_delta} < 600) { + % elsif ($status->{timestamp_delta} < 180) {
Ausgecheckt @@ -23,7 +23,7 @@ bis <%= $status->{station_name} %>

diff --git a/templates/landingpage.html.ep b/templates/landingpage.html.ep index 83ad2a1..dc559f9 100644 --- a/templates/landingpage.html.ep +++ b/templates/landingpage.html.ep @@ -21,8 +21,8 @@

Du bist gerade eingecheckt in <%= $status->{train_type} %> <%= $status->{train_no} %> ab <%= $status->{station_name} %>. - % if ($status->{timestamp_delta} < 3600) { - undo Rückgängig + % if ($status->{timestamp_delta} < 180) { + undo Rückgängig % }

Bei Ankunft: Station auswählen zum Auschecken.

@@ -44,8 +44,8 @@

Prinzipiell wärest du nun eingecheckt in <%= $status->{train_type} %> <%= $status->{train_no} %> ab <%= $status->{station_name} %>, doch dieser Zug fällt aus. - % if ($status->{timestamp_delta} < 3600) { - undo Checkinversuch rückgängig + % if ($status->{timestamp_delta} < 180) { + undo Checkinversuch rückgängig % }

Falls du den Zugausfall z.B. für ein Fahrgastrechteformular diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index eadc143..51bc25f 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -5,7 +5,7 @@ - % my $av = 'v4'; # asset version + % my $av = 'v5'; # asset version %= stylesheet "/static/${av}/css/materialize.min.css" %= stylesheet "/static/${av}/css/material-icons.css" %= stylesheet "/static/${av}/css/local.css" -- cgit v1.2.3