summaryrefslogtreecommitdiff
path: root/templates/_connections.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-12-07 19:44:18 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-12-07 19:44:18 +0100
commit2ee5332ee5373b87c3a3305c7884f0aaaeb78906 (patch)
tree536bb66d0695485d33f893793f170f31c479e345 /templates/_connections.html.ep
parentc509703ce55e4347af3a07e52b989618f06b710b (diff)
warn if a connecting train may not be reached
Diffstat (limited to 'templates/_connections.html.ep')
-rw-r--r--templates/_connections.html.ep6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/_connections.html.ep b/templates/_connections.html.ep
index b44841b..d09f0c0 100644
--- a/templates/_connections.html.ep
+++ b/templates/_connections.html.ep
@@ -50,6 +50,9 @@
% if ($train->departure_delay) {
%= sprintf('(%+d)', $train->departure_delay)
% }
+ % if ($train->{interchange_icon}) {
+ <i class="material-icons tiny" aria-label="<%= $train->{interchange_text} %>"><%= $train->{interchange_icon} %></i>
+ % }
% if ($train->platform) {
<br/>Gleis <%= $train->platform %>
% }
@@ -108,6 +111,9 @@
% if ($train->departure_delay) {
%= sprintf('(%+d)', $train->departure_delay)
% }
+ % if ($train->{interchange_icon}) {
+ <i class="material-icons tiny" aria-label="<%= $train->{interchange_text} %>"><%= $train->{interchange_icon} %></i>
+ % }
% }
</td><td>
% if ($train->platform and not $train->departure_is_cancelled) {