summaryrefslogtreecommitdiff
path: root/templates/individuallist.html.ep
diff options
context:
space:
mode:
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>