diff --git a/assets/themes/hackerspaces/hackerspaces.json b/assets/themes/hackerspaces/hackerspaces.json
index b943bcefa3..538bc0414f 100644
--- a/assets/themes/hackerspaces/hackerspaces.json
+++ b/assets/themes/hackerspaces/hackerspaces.json
@@ -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 {name}"
+ },
+ "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": {
diff --git a/langs/themes/en.json b/langs/themes/en.json
index bcb7629f81..9ac3790fcc 100644
--- a/langs/themes/en.json
+++ b/langs/themes/en.json
@@ -896,6 +896,83 @@
"title": "Ghost bikes",
"description": "A ghost bike 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.
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 {name}"
+ },
+ "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.",