From 094c536eb475b02a26f65769d6ff460d270ef454 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 6 Dec 2019 21:40:51 +0100 Subject: Allow comments to be entered while still in transit --- templates/_checked_in.html.ep | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) (limited to 'templates/_checked_in.html.ep') diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep index a493384..5631e12 100644 --- a/templates/_checked_in.html.ep +++ b/templates/_checked_in.html.ep @@ -3,6 +3,9 @@
Eingecheckt in <%= $journey->{train_type} %> <%= $journey->{train_no} %> + % if ($journey->{comment}) { +

<%= $journey->{comment} %>.

+ % }

- - undo Rückgängig - + % if ($journey->{arr_name}) { + + comment Kommentar + + % } + % else { + + undo Checkin Rückgängig + + % } % if (defined $journey->{arrival_countdown} and $journey->{arrival_countdown} <= 0) { .

+
% }
-- cgit v1.2.3