summaryrefslogtreecommitdiff
path: root/templates/individuallist.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-04-03 20:25:28 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-04-03 20:25:28 +0200
commit4e1d17e14589f5f41910a9e0cc28a9431230f6e4 (patch)
tree12775eb2f76694ff60814c8fb7d91d7abe0320cd /templates/individuallist.html.ep
parentbc642114e5f32158fe9687e4325709882e313cbb (diff)
individuallist: add messages per departure
Diffstat (limited to 'templates/individuallist.html.ep')
-rw-r--r--templates/individuallist.html.ep9
1 files changed, 7 insertions, 2 deletions
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 {
<div class="individuallist">
<table>
-<tr><th>Bahnhof</th><th>Zeit</th><th>Zug</th><th>Nummer</th><th>Richtung</th></tr>
+<tr><th>Bahnhof</th><th>Zeit</th><th>Zug</th><th>Nummer</th><th>Richtung</th><th>Meldungen</th></tr>
% 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};
<tr>
<td class="station">
%= $station
@@ -42,6 +42,11 @@ Keine Daten mit diesen Parametern gefunden.
<td class="destination">
%= $dest
</td>
+<td class="messages">
+% for my $msg (@{$messages // []}) {
+<%= $msg %><br/>
+% }
+</td>
</tr>
% }
</table>