diff --git a/templates/results.html b/templates/results.html index df0e7c9..6fa0c57 100644 --- a/templates/results.html +++ b/templates/results.html @@ -545,8 +545,8 @@ {% if row.circle_services | length > 1 %} {% set c_early = row.circle_services[0] %} {% set c = row.circle_services[1] %} -
earlier {{ c_early.depart }} → PAD {{ c_early.arrive_pad }} · £{{ "%.2f"|format(c_early.fare) }} -
Circle {{ c.depart }} → PAD {{ c.arrive_pad }} · £{{ "%.2f"|format(c.fare) }} +
Circle {{ c_early.depart }} → PAD {{ c_early.arrive_pad }} · £{{ "%.2f"|format(c_early.fare) }} +
next {{ c.depart }} → PAD {{ c.arrive_pad }} {% else %} {% set c = row.circle_services[0] %}
Circle {{ c.depart }} → PAD {{ c.arrive_pad }} · £{{ "%.2f"|format(c.fare) }} diff --git a/tests/test_app.py b/tests/test_app.py index 74d2bfa..7a19613 100644 --- a/tests/test_app.py +++ b/tests/test_app.py @@ -629,8 +629,8 @@ def test_results_return_renders_outbound_and_inbound_tables(monkeypatch): assert 'return_date=2026-04-17' not in html assert 'Circle 09:10 → KX 09:25' in html assert 'next 09:15 → KX 09:30' in html - assert 'earlier 16:40 → PAD 16:55' in html - assert 'Circle 16:45 → PAD 17:00' in html + assert 'Circle 16:40 → PAD 16:55' in html + assert 'next 16:45 → PAD 17:00' in html assert 'title="Tight connection">⚠️' in html assert 'ES 9014' in html assert 'ES 9035' in html