Add a few more questions to the hackerspace theme

This commit is contained in:
Pieter Vander Vennet 2021-09-04 00:25:35 +02:00
parent 76efc0ad9c
commit 1338778f35
2 changed files with 135 additions and 24 deletions

View file

@ -48,6 +48,64 @@
"en": "Hackerspace"
},
"tagRenderings": [
{
"question": {
"en": "Is this a hackerspace or a makerspace?"
},
"mappings": [
{
"if": "hackerspace=makerspace",
"then": {
"en": "This is a makerspace"
}
},
{
"if": "hackerspace=",
"then": {
"en": "This is a traditional (software oriented) hackerspace"
}
}
]
},
{
"question": {
"en": "What is the name of this hackerspace?"
},
"render": {
"en": "This hackerspace is named <b>{name}</b>"
},
"freeform": {
"key": "name"
}
},
"website",
"email",
"phone",
{
"question": {
"en": "When is this hackerspace opened?"
},
"freeform": {
"key": "opening_hours",
"type": "opening_hours"
},
"render": {
"en": "{opening_hours_table()}"
},
"mappings": [
{
"if": {
"and": [
"opening_hours=24/7"
]
},
"then": {
"en": "Opened 24/7"
}
}
]
},
"wheelchair-access",
{
"question": {
"en": "Does this hackerspace serve Club Mate?"
@ -86,30 +144,6 @@
"key": "start_date",
"type": "date"
}
},
{
"question": {
"en": "When is this hackerspace opened?"
},
"freeform": {
"key": "opening_hours",
"type": "opening_hours"
},
"render": {
"en": "{opening_hours_table()}"
},
"mappings": [
{
"if": {
"and": [
"opening_hours=24/7"
]
},
"then": {
"en": "Opened 24/7"
}
}
]
}
],
"icon": {

View file

@ -896,6 +896,83 @@
"title": "Ghost bikes",
"description": "A <b>ghost bike</b> is a memorial for a cyclist who died in a traffic accident, in the form of a white bicycle placed permanently near the accident location.<br/><br/>On this map, one can see all the ghost bikes which are known by OpenStreetMap. Is a ghost bike missing? Everyone can add or update information here - you only need to have a (free) OpenStreetMap account."
},
"hackerspaces": {
"title": "Hackerspaces",
"shortDescription": "A map of hackerspaces",
"description": "On this map you can see hackerspaces, add a new hackerspace or update data directly",
"layers": {
"0": {
"name": "Hackerspace",
"title": {
"render": "Hackerspace",
"mappings": {
"0": {
"then": " {name}"
}
}
},
"description": "Hackerspace",
"tagRenderings": {
"0": {
"question": "Is this a hackerspace or a makerspace?",
"mappings": {
"0": {
"then": "This is a makerspace"
},
"1": {
"then": "This is a traditional (software oriented) hackerspace"
}
}
},
"1": {
"question": "What is the name of this hackerspace?",
"render": "This hackerspace is named <b>{name}</b>"
},
"5": {
"question": "When is this hackerspace opened?",
"render": "{opening_hours_table()}",
"mappings": {
"0": {
"then": "Opened 24/7"
}
}
},
"7": {
"question": "Does this hackerspace serve Club Mate?",
"mappings": {
"0": {
"then": "This hackerspace serves club mate"
},
"1": {
"then": "This hackerspace is not worthy of the name hackerspace as it does not serve club mate"
}
}
},
"8": {
"render": "This hackerspace was founded at {start_date}",
"question": "When was this hackerspace founded?"
}
},
"icon": {
"mappings": {
"0": {
"then": "./assets/themes/hackerspaces/led.png"
}
}
},
"presets": {
"0": {
"title": "Hackerspace",
"description": "A hackerspace is an area where people interested in software gather"
},
"1": {
"title": "Makerspace",
"description": "A makerspace is a place where DIY-enthusiasts gather to experiment with electronics such as arduino, LEDstrips, ..."
}
}
}
}
},
"hailhydrant": {
"title": "Hydrants, Extinguishers, Fire stations, and Ambulance stations.",
"shortDescription": "Map to show hydrants, extinguishers, fire stations, and ambulance stations.",