summaryrefslogtreecommitdiff
path: root/forecast.html.tt
diff options
context:
space:
mode:
Diffstat (limited to 'forecast.html.tt')
-rw-r--r--forecast.html.tt8
1 files changed, 4 insertions, 4 deletions
diff --git a/forecast.html.tt b/forecast.html.tt
index 0decb3b..5397000 100644
--- a/forecast.html.tt
+++ b/forecast.html.tt
@@ -150,11 +150,11 @@
<tr><th>Line</th><th>Destination</th><th>When</th></tr>
</thead>
<tbody>
- [% FOREACH p IN b.Prediction %]
+ [% FOREACH p IN b.predictions %]
<tr>
- <td class="line">[% p.LineName %]</td>
- <td class="destination">[% p.DestinationText %]</td>
- <td class="eta">[% minsec_until(p.EstimatedTime) %]</td>
+ <td class="line">[% p.lineName %]</td>
+ <td class="destination">[% p.towards %]</td>
+ <td class="eta">[% minsec_until(p.expectedArrival) %]</td>
</tr>
[% END %]
</tbody>