diff --git a/assets/admin/shortcodes.js b/assets/admin/shortcodes.js index 4e03d33bf..da8db926b 100644 --- a/assets/admin/shortcodes.js +++ b/assets/admin/shortcodes.js @@ -767,6 +767,66 @@ CMS.registerEditorComponent({ }, }); +var bookingFilterFields = [ + { + name: "reservations", + label: "Reservations", + widget: "boolean", + default: false, + required: false, + param: { bare: true }, + }, + { + name: "fip_global_fare", + label: "FIP Global Fare", + widget: "boolean", + default: false, + required: false, + param: { bare: true }, + }, + { + name: "fip_50", + label: "FIP 50", + widget: "boolean", + default: false, + required: false, + param: { bare: true }, + }, + { + name: "fip_75", + label: "FIP 75", + widget: "boolean", + default: false, + required: false, + param: { bare: true }, + }, +]; + +CMS.registerEditorComponent({ + id: "booking-filters", + label: "Booking Filters", + icon: "filter_list", + fields: bookingFilterFields, + pattern: selfClosingPattern("booking-filters"), + fromBlock: function (match) { + var p = parseHugoParams(match[1]); + return { + reservations: Boolean(p.reservations), + fip_global_fare: Boolean(p.fip_global_fare), + fip_50: Boolean(p.fip_50), + fip_75: Boolean(p.fip_75), + }; + }, + toBlock: makeToBlock("booking-filters", { + fields: bookingFilterFields, + multiline: true, + multilineThreshold: 0, + }), + toPreview: function () { + return ""; + }, +}); + var bookingSectionFields = [ { name: "section", diff --git a/assets/admin/static/config.yml b/assets/admin/static/config.yml index 38f3fc7f7..c842f9382 100644 --- a/assets/admin/static/config.yml +++ b/assets/admin/static/config.yml @@ -366,6 +366,7 @@ collections: - "fip-validity" - "train-category" - "booking" + - "booking-filters" - "button" - "dialog" - "dialog-trigger" diff --git a/assets/js/bookingFilters.js b/assets/js/bookingFilters.js new file mode 100644 index 000000000..a61ef958a --- /dev/null +++ b/assets/js/bookingFilters.js @@ -0,0 +1,40 @@ +function initBookingFilters() { + const filterGroups = document.querySelectorAll(".o-booking-filters"); + + filterGroups.forEach((group) => { + const chips = group.querySelectorAll(".a-booking-filter-chip"); + const bookings = group.parentElement.querySelectorAll(".o-booking"); + + chips.forEach((chip) => { + chip.addEventListener("click", () => { + const isPressed = chip.getAttribute("aria-pressed") === "true"; + chip.setAttribute("aria-pressed", String(!isPressed)); + applyFilters(group, bookings); + }); + }); + }); +} + +function applyFilters(group, bookings) { + const activeFilters = []; + group.querySelectorAll(".a-booking-filter-chip").forEach((chip) => { + if (chip.getAttribute("aria-pressed") === "true") { + activeFilters.push(chip.dataset.filter); + } + }); + + bookings.forEach((booking) => { + if (activeFilters.length === 0) { + booking.hidden = false; + return; + } + + const matches = activeFilters.every((filter) => { + return booking.getAttribute(`data-booking-${filter}`) === "true"; + }); + + booking.hidden = !matches; + }); +} + +document.addEventListener("DOMContentLoaded", initBookingFilters); diff --git a/assets/js/main.js b/assets/js/main.js index eeb35b81a..d650aed1c 100644 --- a/assets/js/main.js +++ b/assets/js/main.js @@ -12,3 +12,4 @@ import "./dialog.js"; import "./fipValidityComparison.js"; import "./search.js"; import "./imageGallery.js"; +import "./bookingFilters.js"; diff --git a/assets/sass/_variables.scss b/assets/sass/_variables.scss index 4100f3b70..f3d5c3fe5 100644 --- a/assets/sass/_variables.scss +++ b/assets/sass/_variables.scss @@ -67,6 +67,8 @@ $highlight-colors-dark: ( --link-default: #{$link-default}; --link-hovered: #{$link-hovered}; --link-special: #{$link-special}; + --chip-active-bg: #{$link-default}; + --chip-active-hover-bg: #{$link-hovered}; --bg-default: #{$bg-default}; --bg-neutral: #{$bg-neutral}; diff --git a/assets/sass/bookingFilters.scss b/assets/sass/bookingFilters.scss new file mode 100644 index 000000000..e4638d49b --- /dev/null +++ b/assets/sass/bookingFilters.scss @@ -0,0 +1,47 @@ +.o-booking-filters { + display: flex; + flex-wrap: wrap; + gap: 0.8rem; + margin-bottom: 1.5rem; +} + +.a-booking-filter-chip { + display: inline-flex; + align-items: center; + gap: 0.4rem; + padding: 0.6rem 1.2rem; + border-radius: var(--border-radius-l); + border: var(--border-visible); + background-color: transparent; + color: var(--color-body); + font-family: var(--font-family); + font-size: 1.4rem; + font-weight: 500; + cursor: pointer; + transition: + background-color 0.2s ease, + border-color 0.2s ease, + color 0.2s ease; + user-select: none; + + &:hover { + background-color: var(--bg-neutral); + } + + @include focus-indicator(0.2rem); + + &[aria-pressed="true"] { + background-color: var(--chip-active-bg); + border-color: var(--chip-active-bg); + color: #ffffff; + + &:hover { + background-color: var(--chip-active-hover-bg); + border-color: var(--chip-active-hover-bg); + } + } + + > .a-icon { + font-size: 1.6rem; + } +} diff --git a/assets/sass/main.scss b/assets/sass/main.scss index 1b65aa557..e3daaedbb 100644 --- a/assets/sass/main.scss +++ b/assets/sass/main.scss @@ -28,3 +28,4 @@ @import "fip-validity.scss"; @import "taxationEmbed.scss"; @import "404.scss"; +@import "bookingFilters.scss"; diff --git a/content/operator/bdz/index.de.md b/content/operator/bdz/index.de.md index b8661bb40..d5d7670ce 100644 --- a/content/operator/bdz/index.de.md +++ b/content/operator/bdz/index.de.md @@ -112,6 +112,11 @@ Regionalbahnen im innerbulgarischen Verkehr mit Halt an meist allen Stationen, d ## Ticket- und Reservierungskauf +{{% booking-filters + reservations=true + fip_50=true +%}} + ### Vor Ort {{% booking id="bdz-ticket-office" /%}} diff --git a/content/operator/bdz/index.en.md b/content/operator/bdz/index.en.md index 6735660f7..5f45d7b31 100644 --- a/content/operator/bdz/index.en.md +++ b/content/operator/bdz/index.en.md @@ -112,6 +112,11 @@ Regional trains in domestic traffic stopping at most stations, often running mor ## Ticket and Reservation Purchase +{{% booking-filters + reservations=true + fip_50=true +%}} + ### On-Site {{% booking id="bdz-ticket-office" /%}} diff --git a/content/operator/bdz/index.fr.md b/content/operator/bdz/index.fr.md index b71a2c090..5a3a28e93 100644 --- a/content/operator/bdz/index.fr.md +++ b/content/operator/bdz/index.fr.md @@ -112,6 +112,11 @@ Trains régionaux en trafic intérieur desservant la plupart des gares, circulan ## Achat de billets et réservations +{{% booking-filters + reservations=true + fip_50=true +%}} + ### En gare {{% booking id="bdz-ticket-office" /%}} diff --git a/content/operator/bls/index.de.md b/content/operator/bls/index.de.md index a9559934c..897659409 100644 --- a/content/operator/bls/index.de.md +++ b/content/operator/bls/index.de.md @@ -119,6 +119,11 @@ FIP ist auf den Schiffen der BLS auf dem Thunersee und Brienzersee gültig. ## Ticket- und Reservierungskauf +{{% booking-filters + reservations=true + fip_50=true +%}} + ### Online {{% booking id="sbb-website" /%}} diff --git a/content/operator/bls/index.en.md b/content/operator/bls/index.en.md index 518fe79cf..0ab108c3c 100644 --- a/content/operator/bls/index.en.md +++ b/content/operator/bls/index.en.md @@ -119,6 +119,11 @@ FIP is valid on BLS ships on Lake Thun and Lake Brienz. ## Ticket and Reservation Purchase +{{% booking-filters + reservations=true + fip_50=true +%}} + ### Online {{% booking id="sbb-website" /%}} diff --git a/content/operator/bls/index.fr.md b/content/operator/bls/index.fr.md index 86049652b..9b7e75ec2 100644 --- a/content/operator/bls/index.fr.md +++ b/content/operator/bls/index.fr.md @@ -119,6 +119,11 @@ Le FIP est valable sur les bateaux de la BLS sur le lac de Thoune et le lac de B ## Achat de billets et réservations +{{% booking-filters + reservations=true + fip_50=true +%}} + ### En ligne {{% booking id="sbb-website" /%}} diff --git a/content/operator/cd/index.de.md b/content/operator/cd/index.de.md index 329c67931..b276bf659 100644 --- a/content/operator/cd/index.de.md +++ b/content/operator/cd/index.de.md @@ -257,6 +257,11 @@ Ein Ticket (Reservierung verpflichtend) muss spätestens 15 Minuten vor Abfahrt ## Ticket- und Reservierungskauf +{{% booking-filters + reservations=true + fip_50=true +%}} + ### Online {{% booking id="cd-website" /%}} diff --git a/content/operator/cd/index.en.md b/content/operator/cd/index.en.md index 11bae97a2..ef65a64e0 100644 --- a/content/operator/cd/index.en.md +++ b/content/operator/cd/index.en.md @@ -257,6 +257,11 @@ A ticket (reservation mandatory) must be purchased at the latest 15 minutes befo ## Ticket and Reservation Purchase +{{% booking-filters + reservations=true + fip_50=true +%}} + ### Online {{% booking id="cd-website" /%}} diff --git a/content/operator/cd/index.fr.md b/content/operator/cd/index.fr.md index 41f151c6c..2f76f9ec6 100644 --- a/content/operator/cd/index.fr.md +++ b/content/operator/cd/index.fr.md @@ -257,6 +257,11 @@ Un billet (réservation obligatoire) doit être acheté au plus tard 15 minutes ## Achat de billets et réservations +{{% booking-filters + reservations=true + fip_50=true +%}} + ### En ligne {{% booking id="cd-website" /%}} diff --git a/content/operator/cfl/index.de.md b/content/operator/cfl/index.de.md index 5ffe621c3..d6a4127c5 100644 --- a/content/operator/cfl/index.de.md +++ b/content/operator/cfl/index.de.md @@ -99,6 +99,11 @@ Die Standseilbahn verbindet die Bahnhaltestelle Pfaffenthal-Kirchberg mit der Um ## Ticket- und Reservierungskauf +{{% booking-filters + reservations=true + fip_50=true +%}} + Der Ticketkauf ist nur für die erste Klasse relevant. {{% highlight tip %}} diff --git a/content/operator/cfl/index.en.md b/content/operator/cfl/index.en.md index e8defa585..f11ac161d 100644 --- a/content/operator/cfl/index.en.md +++ b/content/operator/cfl/index.en.md @@ -99,6 +99,11 @@ The funicular connects the Pfaffenthal-Kirchberg railway stop with the interchan ## Ticket and Reservation Purchase +{{% booking-filters + reservations=true + fip_50=true +%}} + Ticket purchase is only relevant for first class. {{% highlight tip %}} diff --git a/content/operator/cfl/index.fr.md b/content/operator/cfl/index.fr.md index b7a818a47..694870bd6 100644 --- a/content/operator/cfl/index.fr.md +++ b/content/operator/cfl/index.fr.md @@ -98,6 +98,11 @@ Le funiculaire relie la halte ferroviaire Pfaffenthal-Kirchberg à la plateforme ## Achat de billets et réservations +{{% booking-filters + reservations=true + fip_50=true +%}} + L’achat de billets n’est pertinent que pour la première classe. {{% highlight tip %}} diff --git a/content/operator/cfr/index.de.md b/content/operator/cfr/index.de.md index f25495ab0..b7b36d947 100644 --- a/content/operator/cfr/index.de.md +++ b/content/operator/cfr/index.de.md @@ -154,6 +154,11 @@ Eine Reservierung ist für einige Züge erforderlich, diese sind mit _R_ gekennz ## Ticket- und Reservierungskauf +{{% booking-filters + reservations=true + fip_50=true +%}} + ### Online {{% booking id="db-website" diff --git a/content/operator/cfr/index.en.md b/content/operator/cfr/index.en.md index 936db0c99..737707933 100644 --- a/content/operator/cfr/index.en.md +++ b/content/operator/cfr/index.en.md @@ -154,6 +154,11 @@ A reservation is required for some trains, indicated by an _R_. ## Ticket and Reservation Purchase +{{% booking-filters + reservations=true + fip_50=true +%}} + ### Online {{% booking id="db-website" diff --git a/content/operator/cfr/index.fr.md b/content/operator/cfr/index.fr.md index 9eee1a22b..c7940a3f8 100644 --- a/content/operator/cfr/index.fr.md +++ b/content/operator/cfr/index.fr.md @@ -154,6 +154,11 @@ Une réservation est nécessaire pour certains trains, indiqués par un _R_. ## Achat de billets et réservations +{{% booking-filters + reservations=true + fip_50=true +%}} + ### En ligne {{% booking id="db-website" diff --git a/content/operator/cie/index.de.md b/content/operator/cie/index.de.md index e518b67b4..81ad2e6d8 100644 --- a/content/operator/cie/index.de.md +++ b/content/operator/cie/index.de.md @@ -120,6 +120,12 @@ FIP ist auf Busverbindungen von Dublin Bus nicht gültig. ## Ticket- und Reservierungskauf +{{% booking-filters + reservations=true + fip_50=true + fip_75=true +%}} + ### Online FIP 50 / FIP 75 Tickets sind online nicht buchbar. diff --git a/content/operator/cie/index.en.md b/content/operator/cie/index.en.md index d91a51a91..b50c4e952 100644 --- a/content/operator/cie/index.en.md +++ b/content/operator/cie/index.en.md @@ -120,6 +120,12 @@ FIP is not valid on Dublin Bus bus services. ## Ticket and Reservation Purchase +{{% booking-filters + reservations=true + fip_50=true + fip_75=true +%}} + ### Online FIP 50 / FIP 75 Tickets cannot be booked online. diff --git a/content/operator/cie/index.fr.md b/content/operator/cie/index.fr.md index 4c76a9f34..323d51ae6 100644 --- a/content/operator/cie/index.fr.md +++ b/content/operator/cie/index.fr.md @@ -120,6 +120,12 @@ Le FIP n’est pas valable sur les liaisons en bus de Dublin Bus. ## Achat de billets et réservations +{{% booking-filters + reservations=true + fip_50=true + fip_75=true +%}} + ### En ligne Les Billets FIP 50 / FIP 75 ne peuvent pas être réservés en ligne. diff --git a/content/operator/db/index.de.md b/content/operator/db/index.de.md index e224648f9..d3c3a7b6f 100644 --- a/content/operator/db/index.de.md +++ b/content/operator/db/index.de.md @@ -331,6 +331,11 @@ FIP-Vergünstigungen gelten nicht in Bussen. In Bussen des Schienenersatzverkehr FIP 50 Tickets gelten als _Flexpreis_ und sind daher bis vor den 1. Geltungstag des Tickets kostenlos stornierbar. Danach wird eine Gebühr fällig. Reservierungen sind nur eingeschränkt kurz nach Kauf stornierbar. Weitere Informationen zur Stornierung auf der [Website der Deutschen Bahn](https://www.bahn.de/service/informationen-buchung/umtausch-stornierung). +{{% booking-filters + reservations=true + fip_50=true +%}} + ### Online {{% booking id="db-website" /%}} diff --git a/content/operator/db/index.en.md b/content/operator/db/index.en.md index e2d39fc20..47d756401 100644 --- a/content/operator/db/index.en.md +++ b/content/operator/db/index.en.md @@ -325,6 +325,11 @@ FIP discounts do not apply on buses. On rail replacement buses, FIP discounts ap FIP 50 Tickets are considered _Flexpreis_ tickets and can therefore be cancelled free of charge until before the 1st day of validity of the ticket. After that, a fee applies. Reservations can only be cancelled to a limited extent shortly after purchase. Further information on cancellation is available on the [Deutsche Bahn website](https://int.bahn.de/en/booking-information/exchanges-refunds). +{{% booking-filters + reservations=true + fip_50=true +%}} + ### Online {{% booking id="db-website" /%}} diff --git a/content/operator/db/index.fr.md b/content/operator/db/index.fr.md index 921fd90ae..8a85cce3b 100644 --- a/content/operator/db/index.fr.md +++ b/content/operator/db/index.fr.md @@ -325,6 +325,11 @@ Les réductions FIP ne sont pas valables dans les bus. Dans les bus de remplacem Les Billets FIP 50 sont considérés comme _Flexpreis_ et peuvent donc être annulés gratuitement jusqu’avant le 1er jour de validité du billet. Ensuite, des frais s’appliquent. Les réservations ne peuvent être annulées que de manière limitée peu après l’achat. Plus d’informations sur l’annulation sur le [site de la Deutsche Bahn](https://int.bahn.de/fr/informations-reservation/echange-remboursement). +{{% booking-filters + reservations=true + fip_50=true +%}} + ### En ligne {{% booking id="db-website" /%}} diff --git a/content/operator/dsb/index.de.md b/content/operator/dsb/index.de.md index 6d8a5aea3..d9604f1c8 100644 --- a/content/operator/dsb/index.de.md +++ b/content/operator/dsb/index.de.md @@ -128,6 +128,11 @@ Die S-Bahn Kopenhagen wird ebenfalls von der DSB betrieben und kann daher auch m ## Ticket- und Reservierungskauf +{{% booking-filters + reservations=true + fip_50=true +%}} + ### Online {{% booking id="dsb-website" diff --git a/content/operator/dsb/index.en.md b/content/operator/dsb/index.en.md index 32c0120dd..091d432b6 100644 --- a/content/operator/dsb/index.en.md +++ b/content/operator/dsb/index.en.md @@ -128,6 +128,11 @@ The Copenhagen S-train is also operated by DSB and can therefore be used with FI ## Ticket and Reservation Purchase +{{% booking-filters + reservations=true + fip_50=true +%}} + ### Online {{% booking id="dsb-website" diff --git a/content/operator/dsb/index.fr.md b/content/operator/dsb/index.fr.md index b75caf70c..9514c5e89 100644 --- a/content/operator/dsb/index.fr.md +++ b/content/operator/dsb/index.fr.md @@ -128,6 +128,11 @@ Le réseau S-tog de Copenhague est également exploité par DSB. Trains fréquen ## Achat de billets et réservations +{{% booking-filters + reservations=true + fip_50=true +%}} + ### En ligne {{% booking id="dsb-website" diff --git a/content/operator/fs/index.de.md b/content/operator/fs/index.de.md index 1d45c766a..7c66e3d88 100644 --- a/content/operator/fs/index.de.md +++ b/content/operator/fs/index.de.md @@ -315,6 +315,11 @@ Bei FIP 50 Tickets setzt sich der Preis ebenfalls aus dem Zuschlag und 50 % Raba | `ICN` InterCity Notte | 50 % Tariffa Regionale + Combio Servizio | Combio Servizio | Combio Servizio Notte | | Nahverkehr | 50 % Tariffa Regionale | Kein Aufpreis erforderlich | Kein Aufpreis erforderlich | +{{% booking-filters + reservations=true + fip_50=true +%}} + ### Online {{% booking id="db-website-fip-db" diff --git a/content/operator/fs/index.en.md b/content/operator/fs/index.en.md index 420213806..a6ad0985f 100644 --- a/content/operator/fs/index.en.md +++ b/content/operator/fs/index.en.md @@ -302,8 +302,6 @@ Le Frecce long-distance trains have special class categories. [^1] ## Ticket and Reservation Purchase -When using long-distance trains with a FIP Coupon, a _Biglietti gratuiti FS_ supplement (calculated by the tariff _CAMBIO SERVIZIO_) must be purchased. - For FIP 50 Tickets, the price is likewise made up of the supplement and a 50% discount on the regional train fare. With Trenitalia, _CAMBIO SERVIZIO_ is usually calculated based on the difference between the long-distance and the regional train fare. [^4] | Train category | FIP 50 | FIP Coupon | FIP duty travel | @@ -315,6 +313,12 @@ For FIP 50 Tickets, the price is likewise made up of the supplement and a 50% di | `ICN` InterCity Notte | 50% Tariffa Regionale + Combio Servizio | Combio Servizio | Combio Servizio Notte | | Regional | 50% Tariffa Regionale | No supplement required | No supplement required | +When using long-distance trains with a FIP Coupon, a _Biglietti gratuiti FS_ supplement (calculated by the tariff _CAMBIO SERVIZIO_) must be purchased. +{{% booking-filters + reservations=true + fip_50=true +%}} + ### Online {{% booking id="db-website-fip-db" diff --git a/content/operator/fs/index.fr.md b/content/operator/fs/index.fr.md index e1c97bdf8..b03466669 100644 --- a/content/operator/fs/index.fr.md +++ b/content/operator/fs/index.fr.md @@ -315,6 +315,11 @@ Pour les Billets FIP 50, le prix se compose également du supplément et d’une | `ICN` InterCity Notte | 50 % Tariffa Regionale + Combio Servizio | Combio Servizio | Combio Servizio Notte | | Trains régionaux | 50 % Tariffa Regionale | Aucun supplément requis | Aucun supplément requis | +{{% booking-filters + reservations=true + fip_50=true +%}} + ### En ligne {{% booking id="db-website-fip-db" diff --git a/content/operator/gb/index.de.md b/content/operator/gb/index.de.md index 2b3e09212..8244b70db 100644 --- a/content/operator/gb/index.de.md +++ b/content/operator/gb/index.de.md @@ -446,6 +446,12 @@ West Midlands Trains betreibt Nah- und Regionalverkehr unter zwei Marken: London ## Ticket- und Reservierungskauf +{{% booking-filters + reservations=true + fip_50=true + fip_75=true +%}} + In Großbritannien wird in verschiedene Ticketkategorien unterschieden. Nicht auf alle Tickets wird ein FIP 50 / FIP 75 Rabatt gewährt. Die [BR Fares Website](https://www.brfares.com/) ermöglicht es, nach Tarifen auf einer Strecke zu suchen, indem man "FIP Discount 50%" oder "FIP Discount 75%" als Ermäßigung hinzufügt. - **Anytime Tickets:** \ diff --git a/content/operator/gb/index.en.md b/content/operator/gb/index.en.md index 9578b05e0..07abe7181 100644 --- a/content/operator/gb/index.en.md +++ b/content/operator/gb/index.en.md @@ -446,6 +446,12 @@ West Midlands Trains operates local and regional services under two brands: Lond ## Ticket and Reservation Purchase +{{% booking-filters + reservations=true + fip_50=true + fip_75=true +%}} + Great Britain distinguishes between different ticket categories. FIP 50 / FIP 75 Discount is not granted on all tickets. The [BR Fares website](https://www.brfares.com/) allows you to search for fares on a route by adding "FIP Discount 50%" or "FIP Discount 75%" as discount. - **Anytime Tickets:** \ diff --git a/content/operator/gb/index.fr.md b/content/operator/gb/index.fr.md index 1bcc0c91a..1eb73b1c0 100644 --- a/content/operator/gb/index.fr.md +++ b/content/operator/gb/index.fr.md @@ -446,6 +446,12 @@ West Midlands Trains exploite des liaisons locales et régionales sous deux marq ## Achat de billets et réservations +{{% booking-filters + reservations=true + fip_50=true + fip_75=true +%}} + Au Royaume-Uni, il existe différentes catégories de billets. La Réduction FIP 50 / FIP 75 n’est pas accordée sur tous les billets. Le [site BR Fares](https://www.brfares.com/) permet de rechercher des tarifs sur une ligne en ajoutant "FIP Discount 50%" ou "FIP Discount 75%" comme réduction. - **Billets Anytime :** \ diff --git a/content/operator/gysev/index.de.md b/content/operator/gysev/index.de.md index 5f9cacbaa..c7f669616 100644 --- a/content/operator/gysev/index.de.md +++ b/content/operator/gysev/index.de.md @@ -127,6 +127,11 @@ FIP Vergünstigungen sind nicht gültig auf Busverbindungen der GySEV. In Bussen ## Ticket- und Reservierungskauf +{{% booking-filters + reservations=true + fip_50=true +%}} + ### Online {{% booking id="mav-website" /%}} diff --git a/content/operator/gysev/index.en.md b/content/operator/gysev/index.en.md index 6b69e02c7..06ae2c7ee 100644 --- a/content/operator/gysev/index.en.md +++ b/content/operator/gysev/index.en.md @@ -127,6 +127,11 @@ FIP discounts are not valid on GySEV bus connections. On rail replacement buses, ## Ticket and Reservation Purchase +{{% booking-filters + reservations=true + fip_50=true +%}} + ### Online {{% booking id="mav-website" /%}} diff --git a/content/operator/gysev/index.fr.md b/content/operator/gysev/index.fr.md index 8a625c4aa..e5c62a341 100644 --- a/content/operator/gysev/index.fr.md +++ b/content/operator/gysev/index.fr.md @@ -127,6 +127,11 @@ Les réductions FIP ne sont pas valables sur les liaisons d’autobus GySEV. Dan ## Achat de billets et réservations +{{% booking-filters + reservations=true + fip_50=true +%}} + ### En ligne {{% booking id="mav-website" /%}} diff --git a/content/operator/ht/index.de.md b/content/operator/ht/index.de.md index 574c0e822..a4dd4d149 100644 --- a/content/operator/ht/index.de.md +++ b/content/operator/ht/index.de.md @@ -109,6 +109,11 @@ Laut Erfahrungsberichten kann die Zahnradbahn zwischen Diakopto und Kalavryta mi ## Ticket- und Reservierungskauf +{{% booking-filters + reservations=true + fip_50=true +%}} + ### Online {{% booking id="ht-website" diff --git a/content/operator/ht/index.en.md b/content/operator/ht/index.en.md index 9a0029cc2..54f782992 100644 --- a/content/operator/ht/index.en.md +++ b/content/operator/ht/index.en.md @@ -109,6 +109,11 @@ According to experience reports, the rack railway between Diakopto and Kalavryta ## Ticket and Reservation Purchase +{{% booking-filters + reservations=true + fip_50=true +%}} + ### Online {{% booking id="ht-website" diff --git a/content/operator/ht/index.fr.md b/content/operator/ht/index.fr.md index 6a9d95209..722ca0113 100644 --- a/content/operator/ht/index.fr.md +++ b/content/operator/ht/index.fr.md @@ -109,6 +109,11 @@ Selon des retours d’expérience, le chemin de fer à crémaillère entre Diako ## Achat de billets et réservations +{{% booking-filters + reservations=true + fip_50=true +%}} + ### En ligne {{% booking id="ht-website" diff --git a/content/operator/lka/index.de.md b/content/operator/lka/index.de.md index 02eba227f..0d23676a0 100644 --- a/content/operator/lka/index.de.md +++ b/content/operator/lka/index.de.md @@ -78,6 +78,11 @@ Alle Züge der ŁKA, die nicht auf der Sprinterstrecke zwischen Łódz und Warsc ## Ticket- und Reservierungskauf +{{% booking-filters + reservations=true + fip_50=true +%}} + ### Online {{% booking id="koleo-website" diff --git a/content/operator/lka/index.en.md b/content/operator/lka/index.en.md index c3e1e426a..9ca8e0f65 100644 --- a/content/operator/lka/index.en.md +++ b/content/operator/lka/index.en.md @@ -78,6 +78,11 @@ We currently have no information about the validity of FIP tickets on buses oper ## Ticket and Reservation Purchase +{{% booking-filters + reservations=true + fip_50=true +%}} + ### Online {{% booking id="koleo-website" diff --git a/content/operator/lka/index.fr.md b/content/operator/lka/index.fr.md index efd73e881..9de612fe9 100644 --- a/content/operator/lka/index.fr.md +++ b/content/operator/lka/index.fr.md @@ -78,6 +78,11 @@ Nous ne disposons actuellement d’aucune information sur la validité des Bille ## Achat de billets et réservations +{{% booking-filters + reservations=true + fip_50=true +%}} + ### En ligne {{% booking id="koleo-website" diff --git a/content/operator/ltg/index.de.md b/content/operator/ltg/index.de.md index f2de0c5cd..81e2315c8 100644 --- a/content/operator/ltg/index.de.md +++ b/content/operator/ltg/index.de.md @@ -60,6 +60,11 @@ Die Züge führen Wagen der 1., 2. und 3. Klasse. Mit Ausnahme einiger Saisonzü ## Ticket- und Reservierungskauf +{{% booking-filters + reservations=true + fip_50=true +%}} + ### Online {{% booking id="ltg-website" /%}} diff --git a/content/operator/ltg/index.en.md b/content/operator/ltg/index.en.md index c60fdabe5..7ff0f1072 100644 --- a/content/operator/ltg/index.en.md +++ b/content/operator/ltg/index.en.md @@ -60,6 +60,11 @@ Trains have 1st, 2nd, and 3rd class coaches. Except for some seasonal trains bet ## Ticket and Reservation Purchase +{{% booking-filters + reservations=true + fip_50=true +%}} + ### Online {{% booking id="ltg-website" /%}} diff --git a/content/operator/ltg/index.fr.md b/content/operator/ltg/index.fr.md index 35dccb1c4..11b983166 100644 --- a/content/operator/ltg/index.fr.md +++ b/content/operator/ltg/index.fr.md @@ -60,6 +60,11 @@ Les trains comportent des voitures de 1re, 2e et 3e classe. À l’exception de ## Achat de billets et réservations +{{% booking-filters + reservations=true + fip_50=true +%}} + ### En ligne {{% booking id="ltg-website" /%}} diff --git a/content/operator/nir/index.de.md b/content/operator/nir/index.de.md index 7601d0d9f..2c21fc1f2 100644 --- a/content/operator/nir/index.de.md +++ b/content/operator/nir/index.de.md @@ -61,6 +61,12 @@ NIR betreibt verschiedene Regionalzugverbindungen ausgehend von Belfast. Die Reg ## Ticket- und Reservierungskauf +{{% booking-filters + reservations=true + fip_50=true + fip_75=true +%}} + ### Online FIP 50 / FIP 75 Tickets lassen sich online nicht erwerben. diff --git a/content/operator/nir/index.en.md b/content/operator/nir/index.en.md index 05ca9b79a..f308498f6 100644 --- a/content/operator/nir/index.en.md +++ b/content/operator/nir/index.en.md @@ -61,6 +61,12 @@ NIR operates various regional train services from Belfast. Regional trains canno ## Ticket and Reservation Purchase +{{% booking-filters + reservations=true + fip_50=true + fip_75=true +%}} + ### Online FIP 50 / FIP 75 Tickets cannot be purchased online. diff --git a/content/operator/nir/index.fr.md b/content/operator/nir/index.fr.md index d5c0854ee..d496d7735 100644 --- a/content/operator/nir/index.fr.md +++ b/content/operator/nir/index.fr.md @@ -61,6 +61,12 @@ NIR exploite diverses liaisons de trains régionaux au départ de Belfast. Les t ## Achat de billets et réservations +{{% booking-filters + reservations=true + fip_50=true + fip_75=true +%}} + ### En ligne Les Billets FIP 50 / FIP 75 ne peuvent pas être achetés en ligne. diff --git a/content/operator/ns/index.de.md b/content/operator/ns/index.de.md index 482007334..91adfbe4c 100644 --- a/content/operator/ns/index.de.md +++ b/content/operator/ns/index.de.md @@ -215,6 +215,11 @@ In der Verbindungsauskunft der NS werden die Verbindungen als `R-net NS Sprinter ## Ticket- und Reservierungskauf +{{% booking-filters + reservations=true + fip_50=true +%}} + ### Online Nationale Verbindungen können online leider nicht erworben werden. diff --git a/content/operator/ns/index.en.md b/content/operator/ns/index.en.md index 82dd2ab7c..e1b34c6b4 100644 --- a/content/operator/ns/index.en.md +++ b/content/operator/ns/index.en.md @@ -215,6 +215,11 @@ In the NS journey planner, the services are marked as `R-net NS Sprinter`. Not t ## Ticket and Reservation Purchase +{{% booking-filters + reservations=true + fip_50=true +%}} + ### Online Domestic journeys unfortunately cannot be purchased online. diff --git a/content/operator/ns/index.fr.md b/content/operator/ns/index.fr.md index e1828c5e4..0ecfac399 100644 --- a/content/operator/ns/index.fr.md +++ b/content/operator/ns/index.fr.md @@ -215,6 +215,11 @@ Dans la recherche d’itinéraire de la NS, les liaisons sont indiquées comme ` ## Achat de billets et réservations +{{% booking-filters + reservations=true + fip_50=true +%}} + ### En ligne Les trajets nationaux ne peuvent malheureusement pas être achetés en ligne. diff --git a/content/operator/oebb/index.de.md b/content/operator/oebb/index.de.md index c9f158b64..69a5a1328 100644 --- a/content/operator/oebb/index.de.md +++ b/content/operator/oebb/index.de.md @@ -236,6 +236,11 @@ FIP Fahrkarten sind im ÖBB Postbus nicht gültig. In Bussen des Schienenersatzv ## Ticket- und Reservierungskauf +{{% booking-filters + reservations=true + fip_50=true +%}} + ### Online {{% booking id="oebb-website" %}} diff --git a/content/operator/oebb/index.en.md b/content/operator/oebb/index.en.md index 1c15ebe7a..566c7356a 100644 --- a/content/operator/oebb/index.en.md +++ b/content/operator/oebb/index.en.md @@ -236,6 +236,11 @@ FIP Tickets are not valid on ÖBB Postbus. On rail replacement buses, FIP discou ## Ticket and Reservation Purchase +{{% booking-filters + reservations=true + fip_50=true +%}} + ### Online {{% booking id="oebb-website" %}} diff --git a/content/operator/oebb/index.fr.md b/content/operator/oebb/index.fr.md index 1399ed1ee..44f5b1c76 100644 --- a/content/operator/oebb/index.fr.md +++ b/content/operator/oebb/index.fr.md @@ -236,6 +236,11 @@ Les Billets FIP ne sont pas valables sur ÖBB Postbus. Dans les bus de remplacem ## Achat de billets et réservations +{{% booking-filters + reservations=true + fip_50=true +%}} + ### En ligne {{% booking id="oebb-website" %}} diff --git a/content/operator/pkp/index.de.md b/content/operator/pkp/index.de.md index 1b74f8fe6..c88e99602 100644 --- a/content/operator/pkp/index.de.md +++ b/content/operator/pkp/index.de.md @@ -227,6 +227,11 @@ FIP Fahrkarten sind in den KM-Bussen zwischen Modlin und Flughafen Warschau Modl ## Ticket- und Reservierungskauf +{{% booking-filters + reservations=true + fip_50=true +%}} + ### Online {{% booking id="pkp-website" diff --git a/content/operator/pkp/index.en.md b/content/operator/pkp/index.en.md index 409c5cd88..645a61937 100644 --- a/content/operator/pkp/index.en.md +++ b/content/operator/pkp/index.en.md @@ -227,6 +227,11 @@ FIP Tickets are not valid on KM buses between Modlin and Warsaw Modlin Airport. ## Ticket and Reservation Purchase +{{% booking-filters + reservations=true + fip_50=true +%}} + ### Online {{% booking id="pkp-website" diff --git a/content/operator/pkp/index.fr.md b/content/operator/pkp/index.fr.md index b4eb6a34f..81f455861 100644 --- a/content/operator/pkp/index.fr.md +++ b/content/operator/pkp/index.fr.md @@ -224,6 +224,11 @@ Les Billets FIP ne sont pas valables dans les bus KM entre Modlin et l’aéropo ## Achat de billets et réservations +{{% booking-filters + reservations=true + fip_50=true +%}} + ### En ligne {{% booking id="pkp-website" diff --git a/content/operator/renfe/index.de.md b/content/operator/renfe/index.de.md index 6665e2e05..cd2b8a852 100644 --- a/content/operator/renfe/index.de.md +++ b/content/operator/renfe/index.de.md @@ -223,6 +223,11 @@ Die Renfe führt derzeit ein neues Ticketsystem ein. Dies hat auch Auswirkungen Weitere Updates kannst du in der [FIP Guide Community](https://discord.com/channels/1250522473188032512/1566155261691830424/1566155261691830424) verfolgen. {{% /highlight %}} +{{% booking-filters + fip_global_fare=true + fip_50=true +%}} + ### Online Die Buchung von Reservierungen, FIP Globalpreis oder FIP 50 ist online nicht möglich. diff --git a/content/operator/renfe/index.en.md b/content/operator/renfe/index.en.md index 2cc45cfa7..9b0b21a9d 100644 --- a/content/operator/renfe/index.en.md +++ b/content/operator/renfe/index.en.md @@ -223,6 +223,11 @@ Renfe is currently introducing a new ticketing system. This also affects the boo You can follow further updates in the [FIP Guide Community](https://discord.com/channels/1250522473188032512/1566155261691830424/1566155261691830424). {{% /highlight %}} +{{% booking-filters + fip_global_fare=true + fip_50=true +%}} + ### Online It is not possible to book reservations, FIP Global Fare or FIP 50 online. diff --git a/content/operator/renfe/index.fr.md b/content/operator/renfe/index.fr.md index 994750781..3f9cb3d9f 100644 --- a/content/operator/renfe/index.fr.md +++ b/content/operator/renfe/index.fr.md @@ -223,6 +223,11 @@ Renfe met actuellement en place un nouveau système de billetterie. Cela a égal Vous pouvez suivre les prochaines mises à jour dans la [communauté FIP Guide](https://discord.com/channels/1250522473188032512/1566155261691830424/1566155261691830424). {{% /highlight %}} +{{% booking-filters + fip_global_fare=true + fip_50=true +%}} + ### En ligne Les Billets FIP Global et FIP 50 ne peuvent pas être achetés en ligne. diff --git a/content/operator/sbb/index.de.md b/content/operator/sbb/index.de.md index ea0947ba1..42bf3c596 100644 --- a/content/operator/sbb/index.de.md +++ b/content/operator/sbb/index.de.md @@ -195,6 +195,11 @@ FIP Fahrkarten gelten nicht auf von der SBB betriebenen Buslinien. In Bussen des ## Ticket- und Reservierungskauf +{{% booking-filters + reservations=true + fip_50=true +%}} + ### Online {{% booking id="sbb-website" /%}} diff --git a/content/operator/sbb/index.en.md b/content/operator/sbb/index.en.md index dbc8cc6d3..165fd777f 100644 --- a/content/operator/sbb/index.en.md +++ b/content/operator/sbb/index.en.md @@ -195,6 +195,11 @@ FIP Tickets are not valid on SBB-operated bus lines. On rail replacement buses, ## Ticket and Reservation Purchase +{{% booking-filters + reservations=true + fip_50=true +%}} + ### Online {{% booking id="sbb-website" /%}} diff --git a/content/operator/sbb/index.fr.md b/content/operator/sbb/index.fr.md index 71e1a8ad5..1ce8fc1ab 100644 --- a/content/operator/sbb/index.fr.md +++ b/content/operator/sbb/index.fr.md @@ -195,6 +195,11 @@ FIP Tickets are not valid on SBB-operated bus lines. On rail replacement buses, ## Achat de billets et réservations +{{% booking-filters + reservations=true + fip_50=true +%}} + ### En ligne {{% booking id="sbb-website" /%}} diff --git a/content/operator/sll/index.de.md b/content/operator/sll/index.de.md index 20e116060..fc22fbed4 100644 --- a/content/operator/sll/index.de.md +++ b/content/operator/sll/index.de.md @@ -54,6 +54,11 @@ Auf Lounges und Kabinen wird kein FIP-Rabatt gewährt. [^1] ## Ticket- und Reservierungskauf +{{% booking-filters + reservations=true + fip_50=true +%}} + FIP-Tickets müssen vor Reiseantritt erworben werden. Der Kauf an Bord von Schiffen ist nicht möglich. FIP gewährt lediglich einen Rabatt auf den Fahrpreis, alle zusätzlichen Leistungen werden zum vollen Preis berechnet. Hierzu gehören unter anderem die Reservierungskosten für Kabinen, Mitnahme von Fahrzeugen sowie zu entrichtende Hafengebühren und Umweltabgaben. Mit einem FIP Freifahrtschein ist der Fahrpreis kostenlos. diff --git a/content/operator/sll/index.en.md b/content/operator/sll/index.en.md index a7cc6a9cc..55efa8f0c 100644 --- a/content/operator/sll/index.en.md +++ b/content/operator/sll/index.en.md @@ -55,6 +55,11 @@ No FIP discount is granted on lounges and cabins. [^1] ## Ticket and Reservation Purchase +{{% booking-filters + reservations=true + fip_50=true +%}} + FIP tickets must be purchased before the journey. Purchase on board the ships is not possible. FIP only grants a discount on the fare; all additional services are charged at full price. These include, among others, cabin reservation costs, vehicle transport, as well as port fees and environmental charges. With a FIP Coupon, the fare is free of charge. diff --git a/content/operator/sll/index.fr.md b/content/operator/sll/index.fr.md index 8d8dcd505..76cc9a9e6 100644 --- a/content/operator/sll/index.fr.md +++ b/content/operator/sll/index.fr.md @@ -54,6 +54,11 @@ Aucune remise FIP n’est accordée sur les salons ou les cabines. [^1] ## Achat de billets et réservations +{{% booking-filters + reservations=true + fip_50=true +%}} + Les billets FIP doivent être achetés avant le voyage. L’achat à bord des navires n’est pas possible. FIP n’accorde qu’une remise sur le tarif, toutes les prestations supplémentaires sont facturées au tarif plein. Cela inclut notamment les frais de réservation de cabine, le transport de véhicules ainsi que les taxes portuaires et environnementales. Avec un Coupon FIP, la traversée est gratuite. diff --git a/content/operator/sncb/index.de.md b/content/operator/sncb/index.de.md index 24da4f056..3779fbfca 100644 --- a/content/operator/sncb/index.de.md +++ b/content/operator/sncb/index.de.md @@ -165,6 +165,12 @@ Zusätzliche Züge zu bestimmten touristischen Zielen, oft auch einfach als `R` ## Ticket- und Reservierungskauf +{{% booking-filters + reservations=true + fip_50=true + fip_75=true +%}} + ### Online Nationale Verbindungen können online leider nicht erworben werden. diff --git a/content/operator/sncb/index.en.md b/content/operator/sncb/index.en.md index 4b7177d56..d4dd7bc9a 100644 --- a/content/operator/sncb/index.en.md +++ b/content/operator/sncb/index.en.md @@ -165,6 +165,12 @@ Additional trains to certain tourist destinations, often simply referred to as ` ## Ticket and Reservation Purchase +{{% booking-filters + reservations=true + fip_50=true + fip_75=true +%}} + ### Online Domestic journeys unfortunately cannot be purchased online. diff --git a/content/operator/sncb/index.fr.md b/content/operator/sncb/index.fr.md index d141d5c76..7492559c1 100644 --- a/content/operator/sncb/index.fr.md +++ b/content/operator/sncb/index.fr.md @@ -165,6 +165,12 @@ Trains supplémentaires vers certaines destinations touristiques, souvent simple ## Achat de billets et réservations +{{% booking-filters + reservations=true + fip_50=true + fip_75=true +%}} + ### En ligne Les trajets nationaux ne peuvent malheureusement pas être achetés en ligne. diff --git a/content/operator/sncf/index.de.md b/content/operator/sncf/index.de.md index cce67f15e..56a550c28 100644 --- a/content/operator/sncf/index.de.md +++ b/content/operator/sncf/index.de.md @@ -245,6 +245,12 @@ FIP Vergünstigungen gelten auch in Bussen, die von der SNCF betrieben werden. A ## Ticket- und Reservierungskauf +{{% booking-filters + reservations=true + fip_50=true + fip_75=true +%}} + ### Online Nationale Verbindungen können online leider nicht erworben werden. diff --git a/content/operator/sncf/index.en.md b/content/operator/sncf/index.en.md index 84e0ea8f5..0831db149 100644 --- a/content/operator/sncf/index.en.md +++ b/content/operator/sncf/index.en.md @@ -245,6 +245,12 @@ FIP discounts also apply on buses operated by SNCF, except for long-distance bus ## Ticket and Reservation Purchase +{{% booking-filters + reservations=true + fip_50=true + fip_75=true +%}} + ### Online Domestic journeys unfortunately cannot be purchased online. diff --git a/content/operator/sncf/index.fr.md b/content/operator/sncf/index.fr.md index 1632e694f..87bbef707 100644 --- a/content/operator/sncf/index.fr.md +++ b/content/operator/sncf/index.fr.md @@ -245,6 +245,12 @@ Les réductions FIP sont aussi valables dans les bus exploités par la SNCF, sau ## Achat de billets et réservations +{{% booking-filters + reservations=true + fip_50=true + fip_75=true +%}} + ### En ligne Les trajets nationaux ne peuvent malheureusement pas être achetés en ligne. diff --git a/content/operator/sp/index.de.md b/content/operator/sp/index.de.md index 36b816945..a40e38ffa 100644 --- a/content/operator/sp/index.de.md +++ b/content/operator/sp/index.de.md @@ -913,6 +913,11 @@ Transitpunkte, an denen zwischen Bahn und Schiff gewechselt werden kann, sind: ## Ticket- und Reservierungskauf +{{% booking-filters + reservations=true + fip_50=true +%}} + ### Online {{% booking id="sbb-website" diff --git a/content/operator/sp/index.en.md b/content/operator/sp/index.en.md index bd4e5169e..2b08d85db 100644 --- a/content/operator/sp/index.en.md +++ b/content/operator/sp/index.en.md @@ -913,6 +913,11 @@ Transfer points where you can change between rail and ship are: ## Ticket and Reservation Purchase +{{% booking-filters + reservations=true + fip_50=true +%}} + ### Online {{% booking id="sbb-website" diff --git a/content/operator/sp/index.fr.md b/content/operator/sp/index.fr.md index 5b50302ba..21d1a03ed 100644 --- a/content/operator/sp/index.fr.md +++ b/content/operator/sp/index.fr.md @@ -913,6 +913,11 @@ Points de correspondance train-bateau : ## Achat de billets et réservations +{{% booking-filters + reservations=true + fip_50=true +%}} + ### En ligne {{% booking id="sbb-website" diff --git a/content/operator/stl/index.de.md b/content/operator/stl/index.de.md index de372d84f..c33d6b26e 100644 --- a/content/operator/stl/index.de.md +++ b/content/operator/stl/index.de.md @@ -93,6 +93,11 @@ Auf Kabinen wird kein FIP-Rabatt gewährt. [^2] ## Ticket- und Reservierungskauf +{{% booking-filters + reservations=true + fip_50=true +%}} + FIP-Tickets müssen vor Reiseantritt erworben werden. Der Kauf an Bord von Schiffen ist nicht möglich. FIP gewährt lediglich einen Rabatt auf den Fahrpreis, alle zusätzlichen Leistungen werden zum vollen Preis berechnet. Hierzu gehören unter anderem die Reservierungskosten für Kabinen, Mitnahme von Fahrzeugen sowie zu entrichtende Hafengebühren und Umweltabgaben. Mit einem FIP Freifahrtschein ist der Fahrpreis kostenlos. diff --git a/content/operator/stl/index.en.md b/content/operator/stl/index.en.md index 8cba612d7..3a06ed081 100644 --- a/content/operator/stl/index.en.md +++ b/content/operator/stl/index.en.md @@ -93,6 +93,11 @@ No FIP discount is granted on cabins. [^2] ## Ticket and Reservation Purchase +{{% booking-filters + reservations=true + fip_50=true +%}} + FIP tickets must be purchased before the journey. Purchase on board the ships is not possible. FIP only grants a discount on the fare; all additional services are charged at full price. These include, among others, cabin reservation costs, vehicle transport, as well as port fees and environmental charges. With a FIP Coupon, the fare is free of charge. diff --git a/content/operator/stl/index.fr.md b/content/operator/stl/index.fr.md index ca0fc1de1..e89e1830e 100644 --- a/content/operator/stl/index.fr.md +++ b/content/operator/stl/index.fr.md @@ -93,6 +93,11 @@ Aucune remise FIP n’est accordée sur les cabines. [^2] ## Achat de billets et réservations +{{% booking-filters + reservations=true + fip_50=true +%}} + Les billets FIP doivent être achetés avant le voyage. L’achat à bord des navires n’est pas possible. FIP n’accorde qu’une remise sur le tarif, toutes les prestations supplémentaires sont facturées au tarif plein. Cela inclut notamment les frais de réservation de cabine, le transport de véhicules ainsi que les taxes portuaires et environnementales. Avec un Coupon FIP, la traversée est gratuite. diff --git a/content/operator/sv/index.de.md b/content/operator/sv/index.de.md index 7b4f86085..579020877 100644 --- a/content/operator/sv/index.de.md +++ b/content/operator/sv/index.de.md @@ -151,6 +151,11 @@ Aktuell ist jedoch ein Shuttle Bus zwischen Novi Sad und Petrovaradin kostenlos ## Ticket- und Reservierungskauf +{{% booking-filters + reservations=true + fip_50=true +%}} + ### Telefon {{% booking id="sv-phone" diff --git a/content/operator/sv/index.en.md b/content/operator/sv/index.en.md index d32f5b513..a38cdf763 100644 --- a/content/operator/sv/index.en.md +++ b/content/operator/sv/index.en.md @@ -151,6 +151,11 @@ Currently, however, a shuttle bus between Novi Sad and Petrovaradin can be used ## Ticket and Reservation Purchase +{{% booking-filters + reservations=true + fip_50=true +%}} + ### Telephone {{% booking id="sv-phone" diff --git a/content/operator/sv/index.fr.md b/content/operator/sv/index.fr.md index a167ff733..c7719e29a 100644 --- a/content/operator/sv/index.fr.md +++ b/content/operator/sv/index.fr.md @@ -151,6 +151,11 @@ Actuellement, un bus navette entre Novi Sad et Petrovaradin peut toutefois être ## Achat de billets et réservations +{{% booking-filters + reservations=true + fip_50=true +%}} + ### Par téléphone {{% booking id="sv-phone" diff --git a/content/operator/sz/index.de.md b/content/operator/sz/index.de.md index abf00963e..5ce8036c9 100644 --- a/content/operator/sz/index.de.md +++ b/content/operator/sz/index.de.md @@ -188,6 +188,11 @@ Busse der SŽ. FIP ist hier nicht gültig, außer es handelt sich um einen Schie ## Ticket- und Reservierungskauf +{{% booking-filters + reservations=true + fip_50=true +%}} + ### Online {{% booking id="db-website" diff --git a/content/operator/sz/index.en.md b/content/operator/sz/index.en.md index 9b8a61d87..5426001e0 100644 --- a/content/operator/sz/index.en.md +++ b/content/operator/sz/index.en.md @@ -188,6 +188,11 @@ SŽ buses. FIP is not valid, except when they are used as rail replacement servi ## Ticket and Reservation Purchase +{{% booking-filters + reservations=true + fip_50=true +%}} + ### Online {{% booking id="db-website" diff --git a/content/operator/sz/index.fr.md b/content/operator/sz/index.fr.md index f663876df..5d6bbad6f 100644 --- a/content/operator/sz/index.fr.md +++ b/content/operator/sz/index.fr.md @@ -188,6 +188,11 @@ Bus SŽ. FIP n’est pas valable, sauf s’il s’agit d’un service de remplac ## Achat de billets et de réservations +{{% booking-filters + reservations=true + fip_50=true +%}} + ### En ligne {{% booking id="db-website" diff --git a/content/operator/vy/index.de.md b/content/operator/vy/index.de.md index 764ea06f5..f420b34f6 100644 --- a/content/operator/vy/index.de.md +++ b/content/operator/vy/index.de.md @@ -241,6 +241,11 @@ Mit einem FIP-Ausweis / FIP Freifahrtschein für die 2. Klasse können Fahrten i ## Ticket- und Reservierungskauf +{{% booking-filters + reservations=true + fip_50=true +%}} + FIP Tickets und Reservierungen können nicht als Self-Service gebucht werden, aber via Chat, Telefon-Hotline oder an den Ticketschaltern der Bahnhöfe. Für die Reservierung im Sitz-, Liege- oder Schlafwagen ist unabhängig von der Wagenklasse eine Reservierungsgebühr zu entrichten. diff --git a/content/operator/vy/index.en.md b/content/operator/vy/index.en.md index 0c4f3152e..f9cc4c86f 100644 --- a/content/operator/vy/index.en.md +++ b/content/operator/vy/index.en.md @@ -241,6 +241,11 @@ With a 2nd class FIP Card / FIP Coupon, journeys in 1st class can be booked for ## Ticket and Reservation Purchase +{{% booking-filters + reservations=true + fip_50=true +%}} + FIP Tickets and reservations cannot be booked as self-service, but can be obtained via chat, telephone hotline or at the station ticket offices. For reservations in seat, couchette or sleeper cars, a reservation fee must be paid regardless of the carriage class. diff --git a/content/operator/vy/index.fr.md b/content/operator/vy/index.fr.md index 9f913751e..b89f9a8b2 100644 --- a/content/operator/vy/index.fr.md +++ b/content/operator/vy/index.fr.md @@ -241,6 +241,11 @@ Avec une Carte FIP / un Coupon FIP de 2ᵉ classe, les voyages en 1ʳᵉ classe ## Achat de billets et réservations +{{% booking-filters + reservations=true + fip_50=true +%}} + Les Billets FIP et les réservations ne peuvent pas être réservés en libre-service, mais via le chat, la hotline téléphonique ou aux guichets des gares. Pour la réservation en voiture assise, couchette ou voiture-lits, un frais de réservation doit être payé indépendamment de la classe de voiture. diff --git a/content/operator/zpcg/index.de.md b/content/operator/zpcg/index.de.md index fd770f39f..45a88db31 100644 --- a/content/operator/zpcg/index.de.md +++ b/content/operator/zpcg/index.de.md @@ -83,6 +83,11 @@ FIP Fahrkarten gelten nicht auf von der ŽPCG betriebenen Buslinien, es sei denn ## Ticket- und Reservierungskauf +{{% booking-filters + reservations=true + fip_50=true +%}} + {{% highlight inofficial %}} Anscheinend können Tickets und Reservierungen auch via E-Mail an [info@zpcg.me](mailto:info@zpcg.me) gebucht und an einem [ŽPCG Ticketschalter](#vor-ort) abgeholt werden. Da dieses Vorgehen für Interrail funktioniert, sollte es auch mit FIP möglich sein. [^5] diff --git a/content/operator/zpcg/index.en.md b/content/operator/zpcg/index.en.md index 0517c2c4e..150f36cb7 100644 --- a/content/operator/zpcg/index.en.md +++ b/content/operator/zpcg/index.en.md @@ -83,6 +83,11 @@ FIP tickets are not valid on bus lines operated by ŽPCG, unless these are rail ## Ticket and Reservation Purchase +{{% booking-filters + reservations=true + fip_50=true +%}} + {{% highlight inofficial %}} Apparently, tickets and reservations can also be booked by email via [info@zpcg.me](mailto:info@zpcg.me) and collected at a [ŽPCG Ticket Office](#on-site). Since this works for Interrail, it should also be possible with FIP. [^5] diff --git a/content/operator/zpcg/index.fr.md b/content/operator/zpcg/index.fr.md index af4adfe47..04d39642b 100644 --- a/content/operator/zpcg/index.fr.md +++ b/content/operator/zpcg/index.fr.md @@ -83,6 +83,11 @@ Les billets FIP ne sont pas valables sur les lignes de bus exploitées par ŽPCG ## Achat de billets et réservations +{{% booking-filters + reservations=true + fip_50=true +%}} + {{% highlight inofficial %}} Apparemment, les billets et réservations peuvent aussi être réservés par e-mail via [info@zpcg.me](mailto:info@zpcg.me) et retirés à un [guichet ŽPCG](#en-gare). Étant donné que cette procédure fonctionne pour Interrail, elle devrait aussi être possible avec FIP. [^5] diff --git a/content/operator/zssk/index.de.md b/content/operator/zssk/index.de.md index a323de03b..35e75797f 100644 --- a/content/operator/zssk/index.de.md +++ b/content/operator/zssk/index.de.md @@ -174,6 +174,11 @@ Busse sind von FIP-Rabatten ausgeschlossen. In Bussen des Schienenersatzverkehrs ## Ticket- und Reservierungskauf +{{% booking-filters + reservations=true + fip_50=true +%}} + ### Online {{% booking id="zssk-website" diff --git a/content/operator/zssk/index.en.md b/content/operator/zssk/index.en.md index 7e71c8568..487338f67 100644 --- a/content/operator/zssk/index.en.md +++ b/content/operator/zssk/index.en.md @@ -174,6 +174,11 @@ Buses are excluded from FIP discounts. On rail replacement buses, FIP discounts ## Ticket and Reservation Purchase +{{% booking-filters + reservations=true + fip_50=true +%}} + ### Online {{% booking id="zssk-website" diff --git a/content/operator/zssk/index.fr.md b/content/operator/zssk/index.fr.md index 771fc41e8..048f762c8 100644 --- a/content/operator/zssk/index.fr.md +++ b/content/operator/zssk/index.fr.md @@ -174,6 +174,11 @@ Les bus sont exclus des réductions FIP. Dans les bus de remplacement ferroviair ## Achat de billets et réservations +{{% booking-filters + reservations=true + fip_50=true +%}} + ### En ligne {{% booking id="zssk-website" diff --git a/i18n/de.yaml b/i18n/de.yaml index 1107f99b1..633b76b2e 100644 --- a/i18n/de.yaml +++ b/i18n/de.yaml @@ -7,6 +7,7 @@ booking: first: 1. Klasse second: 2. Klasse fee: Buchungsgebühr + filter-label: Buchungsplattformen filtern fip-50: FIP 50 Fahrkarten fip-75: FIP 75 Fahrkarten fip-global-fare: FIP Globalpreis diff --git a/i18n/en.yaml b/i18n/en.yaml index c19dea3c9..d01680997 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -7,6 +7,7 @@ booking: first: 1st Class second: 2nd Class fee: Booking Fee + filter-label: Filter booking platforms fip-50: FIP 50 Tickets fip-75: FIP 75 Tickets fip-global-fare: FIP Global Fare diff --git a/i18n/fr.yaml b/i18n/fr.yaml index cc1b41659..4d03b31e1 100644 --- a/i18n/fr.yaml +++ b/i18n/fr.yaml @@ -7,6 +7,7 @@ booking: first: 1re classe second: 2re classe fee: Frais de réservation + filter-label: Filtrer les plateformes de réservation fip-50: Billets FIP 50 fip-75: Billets FIP 75 fip-global-fare: Tarif Global FIP diff --git a/layouts/_shortcodes/booking-filters.html b/layouts/_shortcodes/booking-filters.html new file mode 100644 index 000000000..61bc739f5 --- /dev/null +++ b/layouts/_shortcodes/booking-filters.html @@ -0,0 +1,32 @@ +{{- $filters := slice -}} +{{- $filterConfig := dict + "reservations" "booking.reservation" + "fip_global_fare" "booking.fip-global-fare" + "fip_50" "booking.fip-50" + "fip_75" "booking.fip-75" +-}} +{{- range $key, $label := $filterConfig -}} + {{- $param := $.Get $key -}} + {{- if or (eq $param true) (eq $param "true") -}} + {{- $filters = $filters | append $key -}} + {{- end -}} +{{- end -}} +{{- if gt (len $filters) 0 -}} +
+ {{- range $filters -}} + + {{- end -}} +
+{{- end -}} diff --git a/layouts/_shortcodes/booking.html b/layouts/_shortcodes/booking.html index 0b27a6aae..b758aa556 100644 --- a/layouts/_shortcodes/booking.html +++ b/layouts/_shortcodes/booking.html @@ -25,6 +25,12 @@ {{- $page.Store.Set "booking_context" $params -}} -
+
{{- partial "booking/booking" $params -}}