From 4e1d17e14589f5f41910a9e0cc28a9431230f6e4 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 3 Apr 2015 20:25:28 +0200 Subject: individuallist: add messages per departure --- templates/individuallist.html.ep | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/individuallist.html.ep b/templates/individuallist.html.ep index b7b7535..f7912b2 100644 --- a/templates/individuallist.html.ep +++ b/templates/individuallist.html.ep @@ -8,9 +8,9 @@ Keine Daten mit diesen Parametern gefunden. % else {
- + % for my $entry (@{ stash('list') // [] }) { -% my ($station, $time, $delay, $canceled, $dest, $train_type, $train_no, $line_no, $platform) = @{$entry}; +% my ($station, $time, $delay, $canceled, $dest, $train_type, $train_no, $line_no, $platform, $messages) = @{$entry}; + % }
BahnhofZeitZugNummerRichtung
BahnhofZeitZugNummerRichtungMeldungen
%= $station @@ -42,6 +42,11 @@ Keine Daten mit diesen Parametern gefunden. %= $dest +% for my $msg (@{$messages // []}) { +<%= $msg %>
+% } +
-- cgit v1.2.3