summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-12-13 21:25:26 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-12-13 21:25:26 +0100
commit34ba39672a91f6eb72cb5463b5af815bd5df3d6d (patch)
tree20634d0dc019dc11280aa2737cf5180b9e6b0fea
parente270cbc3df2749cff344df763cceb3ee1f49b6ef (diff)
Fix cancelled departures being displayed as "terminates here"3.6.3
-rw-r--r--templates/app.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/app.html.ep b/templates/app.html.ep
index 045ba88..9902ff6 100644
--- a/templates/app.html.ep
+++ b/templates/app.html.ep
@@ -83,7 +83,7 @@
% }
</div>
% }
-% if (@{$departure->{route_post} // [] }) {
+% if ($departure->{sched_departure}) {
<span class="dest <%= $extraclasses %>" aria-label="nach <%= $departure->{destination} %>">
%= $departure->{destination}
</span>