summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2025-09-19 20:18:26 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2025-09-19 20:18:26 +0200
commit2cd698b874b48594e52276bb5dc9acd8d6bb7de7 (patch)
tree5c64bbb903d0165a02e532e72265c71fe89a2e3d /templates
parent6f18472ae65c0312517f4cd55666cb3603949dbd (diff)
Journey: Route: mark additional / cancelled stops
Note that additional stops are not yet exposed by DBRIS. Fix coming up soon. Closes #314
Diffstat (limited to 'templates')
-rw-r--r--templates/journey.html.ep10
1 files changed, 8 insertions, 2 deletions
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
</div>
% }
- <table class="striped">
+ <table class="striped journey">
<tr>
<th scope="row"><%= L('journey.trip') %></th>
<td>
@@ -253,7 +253,7 @@
% }
<tr>
<th scope="row"><%= L('journey.route') %></th>
- <td>
+ <td class="route">
% my $before = 1;
% my $within = 0;
% my $at_startstop = 0;
@@ -282,6 +282,12 @@
% else {
<span style="color: #808080;"><%= $station->[0] %></span>
% }
+ % if ($station->[2]{isAdditional}) {
+ <span style="color: #808080;">⊕</span>
+ % }
+ % elsif ($station->[2]{isCancelled}) {
+ <span style="color: #808080;">∅</span>
+ % }
% if ($journey->{edited} & 0x0010) {
% }