Small fixes to climbing theme, wiki generation, version bump

This commit is contained in:
Pieter Vander Vennet 2020-12-18 02:10:26 +01:00
parent a641d976fc
commit 70fb6f5303
4 changed files with 20 additions and 8 deletions

View file

@ -24,7 +24,7 @@ export default class State {
// The singleton of the global state
public static state: State;
public static vNumber = "0.2.5b";
public static vNumber = "0.2.5d";
// The user journey states thresholds when a new feature gets unlocked
public static userJourney = {

View file

@ -149,7 +149,7 @@
"name": {
"de": "Kletterhallen",
"en": "Climbing gyms",
"nl": "Klimzaal"
"nl": "Klimzalen"
},
"minzoom": 10,
"overpassTags": {
@ -180,7 +180,9 @@
"en": "A climbing gym"
},
"tagRenderings": [
{
"images",
"questions",
{"#": "name",
"render": {
"en": "<strong>{name}</strong>",
"nl": "<strong>{name}</strong>",
@ -198,7 +200,8 @@
"website",
"phone",
"email",
"opening_hours"
"opening_hours",
"reviews"
],
"hideUnderlayingFeaturesMinPercentage": 0,
"icon": {
@ -321,7 +324,7 @@
{
"id": "climbing",
"name": {
"nl": "Klimgelegenheiden",
"nl": "Klimgelegenheden",
"de": "Klettermöglichkeiten",
"en": "Climbing opportunities"
},
@ -348,7 +351,9 @@
"en": "A climbing opportunity"
},
"tagRenderings": [
{
"images",
"questions",
{"#": "name",
"render": {
"en": "<strong>{name}</strong>",
"nl": "<strong>{name}</strong>",
@ -377,7 +382,8 @@
}
}
]
}
},
"reviews"
],
"hideUnderlayingFeaturesMinPercentage": 0,
"icon": {

View file

@ -17,6 +17,8 @@
html, body {
height: 100%;
min-height: 100vh;
min-height: -webkit-fill-available;
margin: 0;
padding: 0;
background-color: var(--background-color);

View file

@ -89,7 +89,11 @@ function generateWikiEntry(layout: LayoutConfig){
|name= [https://mapcomplete.osm.be/${layout.id}.html ${layout.id}]
|region= Worldwide
|lang= ${languages}
|descr= A MapComplete theme: ${Translations.W(layout.description).InnerRender()}
|descr= A MapComplete theme: ${Translations.W(layout.description)
.InnerRender()
.replace("<a href='", "[[")
.replace(/'>.*<\/a>/, "]]")
}
|material= {{yes|[https://mapcomplete.osm.be/ ${auth}]}}
|image= MapComplete_Screenshot.png
|genre= POI, editor, ${layout.id}