{%- import "route_symbol.html" as scope -%}
| Stop | {% for trip_id in timetable.trip_ids %} {% if let Some(next_id_v) = timetable.next_id %} {% if next_id_v == trip_id %}{% else %} | {% endif %} {% else %} | {% endif %} {{ trip_id }} | {% endfor %}||
|---|---|---|---|---|---|
| {{ row.stop_name }} | {% for time in row.times %} {% if let Some(t) = time %} {% let live_o = timetable.tracking_data[loop.index0] %} {% if let Tracked(live) = live_o %} {% let time = (t + (live.delay * 60.0) as i64) %} {% if live.next_stop_id == Some(*row.stop_id) %}{% else %} | {% endif %} {{ time | format_time }} | {% elif let TripTracking::Cancelled = live_o %}{{ t | format_time }} | {% endif %} {% else %}{% endif %} {% endfor %} |