summaryrefslogtreecommitdiff
path: root/templates/infoscreen.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/infoscreen.html.ep')
-rw-r--r--templates/infoscreen.html.ep5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/infoscreen.html.ep b/templates/infoscreen.html.ep
index 1fdada3..acf5140 100644
--- a/templates/infoscreen.html.ep
+++ b/templates/infoscreen.html.ep
@@ -38,7 +38,10 @@
%= $departure->line
</span> <!-- line -->
<span class="route">
-% if ($departure->can('lineref') and $departure->lineref) {
+% if ($departure->can('route_interesting') and $departure->route_interesting) {
+%= join(' - ', map { $_->{stop_suf} } ($departure->route_interesting));
+% }
+% elsif ($departure->can('lineref') and $departure->lineref) {
%= $departure->lineref->route
% }
% elsif ($departure->can('route_timetable')) {