NEXT TRAINS · ARRIVAL / WHEN TO LEAVE
{% if path_error != '' %}
{{ path_error | escape }}
{% endif %}
{% for train in path limit:4 %}
{{ train.destination | escape }}
{{ train.arrival_time | escape }} · {{ train.status | escape }}{% if train.catchable %} ({{ train.leave_time | escape }}){% endif %}
{{ train.minutes }} min
{% else %}{% if path_error == '' %}
No upcoming arrivals in the current feed.
{% endif %}{% endfor %}
NEXT CATCHABLE TRAIN
{% if next %}
{% if next.leave_minutes == 0 %}Leave now{% else %}{% if bus_count > 2 %}Leave in {% endif %}{{ next.leave_minutes }} min{% endif %}{% if next.leave_minutes > 0 %}Until you should leave
{% endif %}{{ next.destination | escape }}
Arrives {{ next.arrival_time | escape }}
{% else %}
No catchable train in this feed.
{% endif %}
NJ TRANSIT BUS
{% if bus_stop == '' %}
Add a bus stop in settings to see departures.
{% else %}
Stop {{ bus_stop | escape }} · {{ bus_walk }} min walk
{% if bus_error != '' %}
{{ bus_error | escape }}
{% endif %}{% assign visible_buses = bus_count | default: 2 %}{% for bus in buses limit:visible_buses %}
{{ bus.destination | escape }}{{ bus.minutes }} min
{{ bus.source | escape }} · {{ bus.status | escape }}
{% else %}{% if bus_error == '' %}
No departures reported.
{% endif %}{% endfor %}{% endif %}