summaryrefslogtreecommitdiff
path: root/templates/departures.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-10-19 10:15:18 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-10-19 10:15:18 +0200
commit780cdafcf5e7f078a880d9875f2304f52dafbf0d (patch)
tree673bbba990020341b05ee363a55304c17a34ebf1 /templates/departures.html.ep
parentdaa05870fd92126e64e918fcfbcf464d5118fbed (diff)
show related stations in departure list1.9.7
Diffstat (limited to 'templates/departures.html.ep')
-rw-r--r--templates/departures.html.ep9
1 files changed, 6 insertions, 3 deletions
diff --git a/templates/departures.html.ep b/templates/departures.html.ep
index 9ab4340..41e71f0 100644
--- a/templates/departures.html.ep
+++ b/templates/departures.html.ep
@@ -1,7 +1,10 @@
<div class="row">
- <div class="col s12 center-align"><b>
- %= $station
- </b></div>
+ <div class="col s12 center-align">
+ <b><%= $station %></b>
+ % for my $related_station (sort { $a->{name} cmp $b->{name} } @{$related_stations}) {
+ <br/><%= $related_station->{name} %>
+ % }
+ </div>
</div>
% my $status = $self->get_user_status;
% my $have_connections = 0;