bristol-eurostar/templates
Edward Betts c22a3ea0fc Consolidate to single GraphQL call; show indirect trains; fix price formatting
Replace two-step Eurostar fetch (HTML timetable + GraphQL prices) with a
single GraphQL call that returns timing, train numbers, prices, and seats.
Support indirect services (e.g. Amsterdam) by joining multi-leg train numbers
with ' + ' and keeping the earliest arrival per departure time.
Fix half-pound prices by casting displayPrice to float instead of int.
Wrap each train number segment in white-space:nowrap so 'ES 9132 + ER 9363'
never breaks mid-segment.
Format Eurostar prices with two decimal places.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-04 14:46:22 +01:00
..
base.html Use destination-specific result page metadata 2026-04-01 15:33:07 +01:00
index.html Drive search form dropdowns from VALID_MIN/MAX_CONNECTIONS; warn on short transfers 2026-04-04 10:52:32 +01:00
results.html Consolidate to single GraphQL call; show indirect trains; fix price formatting 2026-04-04 14:46:22 +01:00