From 780cdafcf5e7f078a880d9875f2304f52dafbf0d Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 19 Oct 2019 10:15:18 +0200 Subject: show related stations in departure list --- templates/departures.html.ep | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'templates') 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 @@
-
- %= $station -
+
+ <%= $station %> + % for my $related_station (sort { $a->{name} cmp $b->{name} } @{$related_stations}) { +
<%= $related_station->{name} %> + % } +
% my $status = $self->get_user_status; % my $have_connections = 0; -- cgit v1.2.3