Skip to content

Commit a5ea4f0

Browse files
committed
fix: Add option to hide reservation information
1 parent b3d43b5 commit a5ea4f0

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

content/operator/sncf/index.en.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ This validation requirement does not apply to FIP Coupons.
237237
{{% train-category
238238
title="TGV/ICE trains to Germany"
239239
type="highspeed"
240-
fip_accepted=partially
240+
fip_accepted=true
241241
reservation_required=partially
242242
%}}
243243
International `TGV` and `ICE` trains are reservation-required in the French section. In Germany, reservations are not required and FIP Coupons are valid.
@@ -271,6 +271,7 @@ RATP operates the Paris Métro, bus lines, and part of the tram and RER networks
271271
title="RER trains"
272272
type="regional"
273273
fip_accepted=partially
274+
reservation_possible=nil
274275
%}}
275276
Some RER lines are operated by SNCF. FIP discounts apply on the following sections:
276277

@@ -287,6 +288,7 @@ Note: For journeys between Gare du Nord and Châtelet – Les Halles, only SNCF-
287288
title="Transilien trains"
288289
type="regional"
289290
fip_accepted=true
291+
reservation_possible=nil
290292
%}}
291293
FIP discounts apply on all Transilien lines H, J, K, L, N, P, R, U, and V.
292294
{{% /train-category %}}
@@ -295,6 +297,7 @@ FIP discounts apply on all Transilien lines H, J, K, L, N, P, R, U, and V.
295297
title="Trams"
296298
type="tram"
297299
fip_accepted=partially
300+
reservation_possible=nil
298301
%}}
299302
Tram lines T4 and T11 are operated by SNCF and can be used with FIP discounts. Tram lines T9 and T13 are operated by SNCF and Keolis; FIP validity is unclear. FIP discounts do not apply on other tram lines.
300303
{{% /train-category %}}

layouts/partials/train-category.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
{{ partial "icon" "calendar_check" }}
4747
{{ i18n "trainCategory.reservation.possible" }}
4848
</span>
49-
{{- else -}}
49+
{{- else if eq .reservation_possible false -}}
5050
<span class="o-train-category__tag o-train-category__tag--info">
5151
{{ partial "icon" "calendar_lock" }}
5252
{{ i18n "trainCategory.reservation.notPossible" }}

0 commit comments

Comments
 (0)