summaryrefslogtreecommitdiff
path: root/forecast.html.tt
diff options
context:
space:
mode:
Diffstat (limited to 'forecast.html.tt')
-rw-r--r--forecast.html.tt12
1 files changed, 6 insertions, 6 deletions
diff --git a/forecast.html.tt b/forecast.html.tt
index 0decb3b..8d02648 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>
@@ -180,8 +180,8 @@
[% FOREACH line IN t.lines %]
<tr>
<td class="line">[% line.name %]</td>
- <td class="status">[% line.status.description %]</td>
- <td class="details">[% line.status.details %]</td>
+ <td class="status">[% line.status.statusSeverityDescription %]</td>
+ <td class="details">[% line.status.reason %]</td>
</tr>
[% END %]
</tbody>