diff --git a/templates/journey.html.ep b/templates/journey.html.ep index 6ed204f..696329f 100644 --- a/templates/journey.html.ep +++ b/templates/journey.html.ep @@ -54,7 +54,7 @@ ∗ Daten wurden manuell eingetragen
% } - % if ($journey->{cancelled} or ($journey->{rt_arrival} and ($journey->{rt_arrival}->epoch - $journey->{sched_arrival}->epoch) >= 3600)) { + % if (not stash('readonly') and ($journey->{cancelled} or ($journey->{rt_arrival} and ($journey->{rt_arrival}->epoch - $journey->{sched_arrival}->epoch) >= 3600))) {