Skip to content

Commit d2e109b

Browse files
committed
feat: Add links to booking and additinal information
1 parent 46585d6 commit d2e109b

File tree

54 files changed

+186
-121
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+186
-121
lines changed

archetypes/booking/index.de.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ params:
1010
fip_50: true # Definiere, ob FIP 50 Tickets bei dem Buchungsanbieter gebucht werden können.
1111
fip_global_fare: true # Definiere, ob FIP Globalpreise bei dem Buchungsanbieter gebucht werden können.
1212
reservations: true # Definiere, ob Reservierungen bei dem Buchungsanbieter gebucht werden können.
13-
link: "https://example.com" # Füge ein Link zur Buchungsplattform hinzu
13+
booking_link: "https://example.com" # Füge ein Link zur Buchungsplattform hinzu
14+
additional_info_link: "https://example.com/additional-info" # Füge einen Link zu zusätzlichen Informationen hinzu
1415
type: "onsite" # Akzeptierte Typen sind: website, onsite, phone and email
1516
---
1617

archetypes/booking/index.en.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ params:
1010
fip_50: true # Define if FIP 50 tickets can be booked with this booking platform
1111
fip_global_fare: true # Define if FIP global fare tickets can be booked with this booking platform
1212
reservations: true # Define if reservations can be booked with this booking platform
13-
link: "https://example.com" # Add a link to the booking platform
13+
booking_link: "https://example.com" # Add a link to the booking platform
14+
additional_info_link: "https://example.com/additional-info" # Add a link with additional information
1415
type: "onsite" # Accepted types are: website, onsite, phone and email
1516
---
1617

archetypes/operator/index.de.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,14 +93,15 @@ FIP Globalpreis: <✅/⛔>
9393
Mehr Informationen sind im booking archetype zu finden.
9494
-->
9595
{{% booking id="booking_id"
96-
subtitle="This subtitle is displayed in the summary of the expander and should not take too much space."
97-
info="This is an information text that can contain country specific information and is displayed in the expanded part."
96+
subtitle="Hier kann ein Untertitel ergänzt werden, der in der Zusammenfassung des expanders angezeigt wird und nicht zu viel Platz einnehmen sollte."
9897
reservations=nil
9998
fip_50=false
10099
fip_global_fare=true
101100
classes.first="€20"
102101
classes.second="€10"
103102
%}}
103+
<!-- Hier können zusätzliche landesspezifische Details zur Buchungsplattform ergänzt werden. -->
104+
{{% /booking %}}
104105

105106
### Telefon
106107

archetypes/operator/index.en.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,14 @@ FIP Global Fare: <✅/⛔>
9494
-->
9595
{{% booking id="booking_id"
9696
subtitle="This subtitle is displayed in the summary of the expander and should not take too much space."
97-
info="This is an information text that can contain country specific information and is displayed in the expanded part."
9897
reservations=nil
9998
fip_50=false
10099
fip_global_fare=true
101100
classes.first="€20"
102101
classes.second="€10"
103102
%}}
103+
<!-- This is an information text that can contain country specific information and is displayed in the expanded part. -->
104+
{{% /booking %}}
104105

105106
### Telephone
106107

assets/sass/booking.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,16 @@
8787
}
8888
}
8989

90+
.o-booking__open-in-new {
91+
margin-top: 1rem;
92+
}
93+
94+
.o-booking__links {
95+
margin-top: 1rem;
96+
display: flex;
97+
gap: 1rem;
98+
flex-wrap: wrap;
99+
}
90100

91101
@mixin booking_section($name) {
92102
&-#{$name}--hidden &-#{$name} {

assets/sass/button.scss

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
a.c-button {
2+
padding: 1rem;
3+
display: inline-flex;
4+
align-items: center;
5+
gap: 0.4rem;
6+
border: 2px solid var(--link-default);
7+
border-radius: 4px;
8+
font-size: 1.5rem;
9+
cursor: pointer;
10+
text-decoration: none;
11+
transition: background 0.2s, color 0.2s;
12+
13+
&:hover,
14+
&:focus {
15+
background: var(--link-hovered);
16+
border-color: var(--link-hovered);
17+
color: #fff;
18+
}
19+
}

assets/sass/main.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@
1515
@import "anchorlink.scss";
1616
@import "print.scss";
1717
@import "booking.scss";
18+
@import "button.scss";

content/booking/db_ticket_office/index.de.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ params:
99
second: "€5.20"
1010
fip_50: true
1111
reservations: true
12-
link: "https://www.bahnhof.de/en/service/travel-centre"
12+
additional_info_link: "https://www.bahnhof.de/en/service/travel-centre"
1313
type: "onsite"
1414
---
1515

content/booking/db_ticket_office/index.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ params:
99
second: "€5.20"
1010
fip_50: true
1111
reservations: true
12-
link: "https://www.bahnhof.de/en/service/travel-centre"
12+
additional_info_link: "https://www.bahnhof.de/en/service/travel-centre"
1313
type: "onsite"
1414
---
1515

content/booking/db_website/index.de.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ params:
88
second: "5,20€"
99
fip_50: false
1010
reservations: true
11-
link: "https://www.bahn.de/"
11+
booking_link: "https://www.bahn.de/"
12+
additional_info_link: "https://www.bahn.de/angebot/zusatzticket/sitzplatzreservierung"
1213
type: "website"
1314
---
1415

@@ -19,7 +20,5 @@ Der Reservierungspreis wird pro Reise berechnet. So muss bei Verbindungen mit Um
1920

2021
Über die Website der Deutschen Bahn können Sitzplatzreservierungen erworben werden. Dazu muss die Option "Nur Sitzplatz buchen" in der Suche ausgewählt werden. Für Familien mit mindesten einem Kinden zwischen 0 und 14 Jahren, kann eine vergünstigte Familienreservierung für 10,30€ (2. Klasse) bzw. 13,00€ (1. Klasse) erworben werden. Diese ist für bis zu 5 Personen gültig und kann durch Angabe der entsprechenden Anzahl an Erwachsenen und Kindern im Buchungsprozess ausgewählt werden.
2122

22-
[Weitere Informationen](https://www.bahn.de/angebot/zusatzticket/sitzplatzreservierung)
23-
2423
![DB Reservierung buchen](db_reservation.webp)
2524
{{% /booking-section %}}

content/booking/db_website/index.en.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ params:
88
second: "€5.20"
99
fip_50: false
1010
reservations: true
11-
link: "https://www.bahn.de/"
11+
booking_link: "https://www.bahn.de/"
12+
additional_info_link: "https://int.bahn.de/en/offers/additional-services/seat-reservation"
1213
type: "website"
1314
---
1415

@@ -19,7 +20,5 @@ The reservation price is calculated per journey. This means that for connections
1920

2021
Seat reservations can be purchased via the Deutsche Bahn website. To do so, select the "Book seat only" option in the search. For families with at least one child between 0 and 14 years old, a discounted family reservation is available for €10.30 (2nd class) or €13.00 (1st class). This reservation is valid for up to 5 people and can be selected by specifying the appropriate number of adults and children during the booking process.
2122

22-
[More information](https://int.bahn.de/en/offers/additional-services/seat-reservation)
23-
2423
![Book DB reservation](db_reservation.webp)
2524
{{% /booking-section %}}

content/booking/db_website_fip_db/index.de.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ params:
99
second: "5,20€"
1010
fip_50: true
1111
reservations: true
12+
additional_info_link: "https://www.bahn.de/angebot/zusatzticket/sitzplatzreservierung"
1213
type: "website"
1314
---
1415

@@ -40,7 +41,5 @@ Der Reservierungspreis wird pro Reise berechnet. So muss bei Verbindungen mit Um
4041

4142
Über die Website der Deutschen Bahn können Sitzplatzreservierungen erworben werden. Dazu muss die Option "Nur Sitzplatz buchen" in der Suche ausgewählt werden. Für Familien mit mindesten einem Kinden zwischen 0 und 14 Jahren, kann eine vergünstigte Familienreservierung für 10,30€ (2. Klasse) bzw. 13,00€ (1. Klasse) erworben werden. Diese ist für bis zu 5 Personen gültig und kann durch Angabe der entsprechenden Anzahl an Erwachsenen und Kindern im Buchungsprozess ausgewählt werden.
4243

43-
[Weitere Informationen](https://www.bahn.de/angebot/zusatzticket/sitzplatzreservierung)
44-
4544
![DB Reservierung buchen](db_reservation.webp)
4645
{{% /booking-section %}}

content/booking/db_website_fip_db/index.en.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ params:
99
second: "5,20€"
1010
fip_50: true
1111
reservations: true
12+
additional_info_link: "https://int.bahn.de/en/offers/additional-services/seat-reservation"
1213
type: "website"
1314
---
1415

@@ -40,7 +41,5 @@ The reservation price is calculated per journey. This means that for connections
4041

4142
Seat reservations can be purchased via the Deutsche Bahn website. To do so, select the "Book seat only" option in the search. For families with at least one child between 0 and 14 years old, a discounted family reservation is available for €10.30 (2nd class) or €13.00 (1st class). This reservation is valid for up to 5 people and can be selected by specifying the appropriate number of adults and children during the booking process.
4243

43-
[More information](https://int.bahn.de/en/offers/additional-services/seat-reservation)
44-
4544
![Book DB reservation](db_reservation.webp)
4645
{{% /booking-section %}}

content/booking/db_website_fip_international/index.de.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ params:
99
second: "5,20€"
1010
fip_50: true
1111
reservations: true
12-
link: "https://www.bahn.de/buchung/start?KL=2&ET=FIP_SONSTIGE"
12+
booking_link: "https://www.bahn.de/buchung/start?KL=2&ET=FIP_SONSTIGE"
13+
additional_info_link: "https://www.bahn.de/angebot/zusatzticket/sitzplatzreservierung"
1314
type: "website"
1415
---
1516

@@ -43,7 +44,5 @@ Der Reservierungspreis wird pro Reise berechnet. So muss bei Verbindungen mit Um
4344

4445
Über die Website der Deutschen Bahn können Sitzplatzreservierungen erworben werden. Dazu muss die Option "Nur Sitzplatz buchen" in der Suche ausgewählt werden. Für Familien mit mindesten einem Kinden zwischen 0 und 14 Jahren, kann eine vergünstigte Familienreservierung für 10,30€ (2. Klasse) bzw. 13,00€ (1. Klasse) erworben werden. Diese ist für bis zu 5 Personen gültig und kann durch Angabe der entsprechenden Anzahl an Erwachsenen und Kindern im Buchungsprozess ausgewählt werden.
4546

46-
[Weitere Informationen](https://www.bahn.de/angebot/zusatzticket/sitzplatzreservierung)
47-
4847
![DB Reservierung buchen](db_reservation.webp)
4948
{{% /booking-section %}}

content/booking/db_website_fip_international/index.en.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ params:
99
second: "5,20€"
1010
fip_50: true
1111
reservations: true
12-
link: "https://www.bahn.de/buchung/start?KL=2&ET=FIP_SONSTIGE"
12+
booking_link: "https://www.bahn.de/buchung/start?KL=2&ET=FIP_SONSTIGE"
13+
additional_info_link: "https://int.bahn.de/en/offers/additional-services/seat-reservation"
1314
type: "website"
1415
---
1516

@@ -43,7 +44,5 @@ The reservation price is charged per journey. For connections with transfers, yo
4344

4445
Seat reservations can be purchased via the Deutsche Bahn website. To do so, select the "Seat reservation only" option in the search. For families with at least one child between 0 and 14 years old, a discounted family reservation can be purchased for €10.30 (2nd class) or €13.00 (1st class). This is valid for up to 5 people and can be selected by specifying the appropriate number of adults and children during the booking process.
4546

46-
[More information](https://www.bahn.de/angebot/zusatzticket/sitzplatzreservierung)
47-
4847
![Book DB reservation](db_reservation.webp)
4948
{{% /booking-section %}}

content/booking/dsb_ticket_office/index.de.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ params:
99
second: "30 kr"
1010
fip_50: true
1111
reservations: true
12-
link: "https://www.dsb.dk/en/train-ticket-to-europe/"
12+
additional_info_link: "https://www.dsb.dk/en/train-ticket-to-europe/"
1313
type: "onsite"
1414
---
1515

content/booking/dsb_ticket_office/index.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ params:
99
second: "30 kr"
1010
fip_50: true
1111
reservations: true
12-
link: "https://www.dsb.dk/en/train-ticket-to-europe/"
12+
additional_info_link: "https://www.dsb.dk/en/train-ticket-to-europe/"
1313
type: "onsite"
1414
---
1515

content/booking/dsb_website/index.de.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ params:
99
second: "30 kr"
1010
fip_50: false
1111
reservations: true
12-
link: "https://www.dsb.dk/en/"
12+
booking_link: "https://www.dsb.dk/en/"
1313
type: "website"
1414
---
1515

content/booking/dsb_website/index.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ params:
99
second: "30 kr"
1010
fip_50: false
1111
reservations: true
12-
link: "https://www.dsb.dk/en/"
12+
booking_link: "https://www.dsb.dk/en/"
1313
type: "website"
1414
---
1515

content/booking/eurostar_phone/index.de.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: "Buchungsinformationen für die Eurostar Hotline."
55

66
params:
77
fip_global_fare: true
8-
link: "https://www.eurostar.com/rw-en/contact-us/eurostar-contact-details"
8+
additional_info_link: "https://www.eurostar.com/rw-en/contact-us/eurostar-contact-details"
99
type: "phone"
1010
---
1111

content/booking/eurostar_phone/index.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: "Booking information for the Eurostar hotline."
55

66
params:
77
fip_global_fare: true
8-
link: "https://www.eurostar.com/de-de/uns-kontaktieren/eurostar-kontaktinformationen"
8+
additional_info_link: "https://www.eurostar.com/de-de/uns-kontaktieren/eurostar-kontaktinformationen"
99
type: "phone"
1010
---
1111

content/booking/ns_ticket_office/index.de.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: "Buchungsinformationen für die NS Ticketschalter."
66
params:
77
fip_50: true
88
reservations: true
9-
link: "https://www.ns.nl/en/travel-information/facilities/ov-service-and-tickets-shops.html"
9+
additional_info_link: "https://www.ns.nl/en/travel-information/facilities/ov-service-and-tickets-shops.html"
1010
type: "onsite"
1111
---
1212

content/booking/ns_ticket_office/index.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: "Booking information for NS ticket offices."
66
params:
77
fip_50: true
88
reservations: true
9-
link: "https://www.ns.nl/en/travel-information/facilities/ov-service-and-tickets-shops.html"
9+
additional_info_link: "https://www.ns.nl/en/travel-information/facilities/ov-service-and-tickets-shops.html"
1010
type: "onsite"
1111
---
1212

content/booking/renfe_ticket_office/index.de.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: "Buchungsinformationen für die Renfe Ticketschalter."
66
params:
77
fip_50: true
88
fip_global_fare: true
9-
link: "https://www.renfe.com/es/en/viajar/informacion-util/-donde-comprar-"
9+
additional_info_link: "https://www.renfe.com/es/en/viajar/informacion-util/-donde-comprar-"
1010
type: "onsite"
1111
---
1212

content/booking/renfe_ticket_office/index.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: "Booking information for the Renfe ticket offices."
66
params:
77
fip_50: true
88
fip_global_fare: true
9-
link: "https://www.renfe.com/es/en/viajar/informacion-util/-donde-comprar-"
9+
additional_info_link: "https://www.renfe.com/es/en/viajar/informacion-util/-donde-comprar-"
1010
type: "onsite"
1111
---
1212

content/booking/sncb_ticket_office/index.de.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: "Buchungsinformationen für die SNCB Ticketschalter."
66
params:
77
fip_50: true
88
reservations: true
9-
link: "https://www.belgiantrain.be/de/station-information/nmbs-stations/ticket-offices"
9+
additional_info_link: "https://www.belgiantrain.be/de/station-information/nmbs-stations/ticket-offices"
1010
type: "onsite"
1111
---
1212

content/booking/sncb_ticket_office/index.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: "Booking information for the SNCB ticket offices."
66
params:
77
fip_50: true
88
reservations: true
9-
link: "https://www.belgiantrain.be/en/station-information/nmbs-stations/ticket-offices"
9+
additional_info_link: "https://www.belgiantrain.be/en/station-information/nmbs-stations/ticket-offices"
1010
type: "onsite"
1111
---
1212

content/booking/sncb_website/index.de.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: "Buchungsinformationen für die SNCB Website."
55

66
params:
77
fip_50: true
8-
link: "https://www.b-europe.com/DE"
8+
booking_link: "https://www.b-europe.com/DE"
99
type: "website"
1010
---
1111

content/booking/sncb_website/index.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: "Booking information for the SNCB website."
55

66
params:
77
fip_50: true
8-
link: "https://www.b-europe.com/EN"
8+
booking_link: "https://www.b-europe.com/EN"
99
type: "website"
1010
---
1111

content/booking/uk_mail/index.de.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ description: "Buchungsinformationen für die Buchung per Mail bei International
55

66
params:
77
fip_global_fare: true
8-
link: "mailto:[email protected]"
98
type: "email"
109
---
1110

content/booking/uk_mail/index.en.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ description: "Booking information for email bookings with International Rail Ltd
55

66
params:
77
fip_global_fare: true
8-
link: "mailto:[email protected]"
98
type: "email"
109
---
1110

content/booking/zssk_ticket_office/index.de.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ params:
99
second: "1€"
1010
fip_50: true
1111
reservations: true
12-
link: "https://www.zssk.sk/en/sales-points-and-reservations/"
12+
additional_info_link: "https://www.zssk.sk/en/sales-points-and-reservations/"
1313
type: "onsite"
1414
---
1515

content/booking/zssk_ticket_office/index.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ params:
99
second: "1€"
1010
fip_50: true
1111
reservations: true
12-
link: "https://www.zssk.sk/en/sales-points-and-reservations/"
12+
additional_info_link: "https://www.zssk.sk/en/sales-points-and-reservations/"
1313
type: "onsite"
1414
---
1515

content/booking/zssk_website/index.de.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ params:
99
second: "1€"
1010
fip_50: true
1111
reservations: true
12-
link: "https://www.zssk.sk/en/"
12+
booking_link: "https://www.zssk.sk/en/"
1313
type: "website"
1414
---
1515

content/booking/zssk_website/index.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ params:
99
second: "€1"
1010
fip_50: true
1111
reservations: true
12-
link: "https://www.zssk.sk/en/"
12+
booking_link: "https://www.zssk.sk/en/"
1313
type: "website"
1414
---
1515

0 commit comments

Comments
 (0)