File tree Expand file tree Collapse file tree 4 files changed +15
-0
lines changed
pages/events/[eventId]/preview Expand file tree Collapse file tree 4 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 14211421 "labels" : {
14221422 "title" : " Titel" ,
14231423 "type" : " Typ" ,
1424+ "theme" : " Thema" ,
14241425 "labels" : " Labels" ,
14251426 "description" : " Beschreibung" ,
14261427 "location" : " Wo" ,
14381439 },
14391440 "empty_value" : {
14401441 "description" : " Keine Beschreibung" ,
1442+ "theme" : " Kein Thema" ,
14411443 "organiser" : " Keine Organisationsinformationen" ,
14421444 "price" : " Keine Preisinformation" ,
14431445 "booking" : " Keine Reservierungsinformationen" ,
Original file line number Diff line number Diff line change 14201420 "labels" : {
14211421 "title" : " Titre" ,
14221422 "type" : " Type" ,
1423+ "theme" : " Thème" ,
14231424 "labels" : " Étiquettes" ,
14241425 "description" : " Description" ,
14251426 "location" : " Où" ,
14371438 },
14381439 "empty_value" : {
14391440 "description" : " Aucune description" ,
1441+ "theme" : " Aucun thème" ,
14401442 "organiser" : " Aucune information sur l'organisation" ,
14411443 "price" : " Pas d'information du prix" ,
14421444 "booking" : " Aucune information sur la réservation" ,
Original file line number Diff line number Diff line change 14771477 "labels" : {
14781478 "title" : " Titel" ,
14791479 "type" : " Type" ,
1480+ "theme" : " Thema" ,
14801481 "labels" : " Labels" ,
14811482 "description" : " Beschrijving" ,
14821483 "location" : " Waar" ,
14941495 },
14951496 "empty_value" : {
14961497 "description" : " Geen beschrijving" ,
1498+ "theme" : " Geen thema" ,
14971499 "organiser" : " Geen organisatie-informatie" ,
14981500 "price" : " Geen prijsinformatie" ,
14991501 "booking" : " Geen reservatie-informatie" ,
Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ const Preview = () => {
6969 ) ;
7070
7171 const typeTerm = terms . find ( ( term ) => term . domain === 'eventtype' ) ;
72+ const themeTerm = terms . find ( ( term ) => term . domain === 'theme' ) ;
7273
7374 const description = getLanguageObjectOrFallback < string > (
7475 offer . description ,
@@ -271,6 +272,14 @@ const Preview = () => {
271272 const tableData = [
272273 { field : t ( 'preview.labels.title' ) , value : title } ,
273274 { field : t ( 'preview.labels.type' ) , value : typeTerm . label } ,
275+ {
276+ field : t ( 'preview.labels.theme' ) ,
277+ value : themeTerm ? (
278+ themeTerm . label
279+ ) : (
280+ < EmptyValue > { t ( 'preview.empty_value.theme' ) } </ EmptyValue >
281+ ) ,
282+ } ,
274283 {
275284 field : t ( 'preview.labels.labels' ) ,
276285 value : (
You can’t perform that action at this time.
0 commit comments