Change opening_hours mapping for hackerspace

This commit is contained in:
Robin van der Linde 2022-10-30 20:41:54 +01:00
parent 29af0cadc7
commit 95fb6cd970
Signed by untrusted user: Robin-van-der-Linde
GPG key ID: 53956B3252478F0D
8 changed files with 10 additions and 104 deletions

View file

@ -110,45 +110,16 @@
"email",
"phone",
{
"question": {
"en": "When is this hackerspace opened?",
"de": "Wann hat dieser Hackerspace geöffnet?",
"zh_Hant": "這個駭客空間的營業時間?",
"es": "¿Cuándo está abierto este espacio hacker?",
"nl": "Wanneer is deze hackerspace geopend?"
},
"freeform": {
"key": "opening_hours",
"type": "opening_hours"
},
"render": {
"en": "{opening_hours_table()}",
"de": "{opening_hours_table()}",
"ru": "{opening_hours_table()}",
"zh_Hant": "{opening_hours_table()}",
"ca": "{opening_hours_table()}",
"es": "{opening_hours_table()}",
"nl": "{opening_hours_table()}"
},
"mappings": [
{
"if": {
"and": [
"opening_hours=24/7"
]
},
"then": {
"en": "Opened 24/7",
"de": "durchgehend geöffnet",
"ru": "Открыто 24/7",
"zh_Hant": "24/7 營業",
"ca": "Obert 24/7",
"es": "Abierto 24/7",
"nl": "24/7 geopend"
}
"builtin": "opening_hours_24_7",
"override": {
"question": {
"en": "When is this hackerspace opened?",
"de": "Wann hat dieser Hackerspace geöffnet?",
"zh_Hant": "這個駭客空間的營業時間?",
"es": "¿Cuándo está abierto este espacio hacker?",
"nl": "Wanneer is deze hackerspace geopend?"
}
],
"id": "hackerspaces-opening_hours"
}
},
{
"id": "available_devices",
@ -375,4 +346,4 @@
}
}
]
}
}