Show per-direction service counts for return journeys
Replace the combined "70 NR · 36 Eurostar" summary with separate outbound/return lines so it's clear which counts belong to which leg. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
4194e8fa64
commit
b184e27a63
1 changed files with 12 additions and 3 deletions
|
|
@ -423,9 +423,18 @@
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<p class="card-meta">
|
<p class="card-meta">
|
||||||
{{ gwr_count }} National Rail service{{ 's' if gwr_count != 1 }}
|
{% if journey_type == 'return' %}
|
||||||
·
|
{% for section in sections %}
|
||||||
{{ eurostar_count }} Eurostar service{{ 's' if eurostar_count != 1 }}
|
{% if section.direction == 'outbound' %}Outbound{% else %}Return{% endif %}:
|
||||||
|
{{ section.gwr_count }} National Rail service{{ 's' if section.gwr_count != 1 }},
|
||||||
|
{{ section.eurostar_count }} Eurostar service{{ 's' if section.eurostar_count != 1 }}
|
||||||
|
{% if not loop.last %} · {% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
{% else %}
|
||||||
|
{{ gwr_count }} National Rail service{{ 's' if gwr_count != 1 }}
|
||||||
|
·
|
||||||
|
{{ eurostar_count }} Eurostar service{{ 's' if eurostar_count != 1 }}
|
||||||
|
{% endif %}
|
||||||
{% if from_cache %}
|
{% if from_cache %}
|
||||||
· <span class="text-muted text-sm">(cached)</span>
|
· <span class="text-muted text-sm">(cached)</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue