From 315a94affedffda8ab4be62cebf2b62c3f5f0d78 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 8 Dec 2019 19:46:45 +0100 Subject: allow a journey's cancellation status to be edited Closes #27 --- templates/journey.html.ep | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'templates/journey.html.ep') diff --git a/templates/journey.html.ep b/templates/journey.html.ep index 7be4f78..712bba6 100644 --- a/templates/journey.html.ep +++ b/templates/journey.html.ep @@ -15,11 +15,15 @@

% if ($journey->{cancelled}) { - Ausgefallene Fahrt von + Ausgefallene Fahrt % } % else { - Fahrt von + Fahrt % } + % if ($journey->{edited} & 0x0020) { + ∗ + % } + von <%= $journey->{from_name} %> nach <%= $journey->{to_name} %> -- cgit v1.2.3