From 2cd698b874b48594e52276bb5dc9acd8d6bb7de7 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Fri, 19 Sep 2025 20:18:26 +0200 Subject: Journey: Route: mark additional / cancelled stops Note that additional stops are not yet exposed by DBRIS. Fix coming up soon. Closes #314 --- templates/journey.html.ep | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/journey.html.ep b/templates/journey.html.ep index 95764eb..09ad76d 100644 --- a/templates/journey.html.ep +++ b/templates/journey.html.ep @@ -55,7 +55,7 @@ %= end % } - +
-
<%= L('journey.trip') %> @@ -253,7 +253,7 @@ % }
<%= L('journey.route') %> + % my $before = 1; % my $within = 0; % my $at_startstop = 0; @@ -282,6 +282,12 @@ % else { <%= $station->[0] %> % } + % if ($station->[2]{isAdditional}) { + + % } + % elsif ($station->[2]{isCancelled}) { + + % } % if ($journey->{edited} & 0x0010) { ∗ % } -- cgit v1.2.3