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 // The singleton of the global state
public static state: 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 // The user journey states thresholds when a new feature gets unlocked
public static userJourney = { public static userJourney = {

View file

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

View file

@ -17,6 +17,8 @@
html, body { html, body {
height: 100%; height: 100%;
min-height: 100vh;
min-height: -webkit-fill-available;
margin: 0; margin: 0;
padding: 0; padding: 0;
background-color: var(--background-color); 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}] |name= [https://mapcomplete.osm.be/${layout.id}.html ${layout.id}]
|region= Worldwide |region= Worldwide
|lang= ${languages} |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}]}} |material= {{yes|[https://mapcomplete.osm.be/ ${auth}]}}
|image= MapComplete_Screenshot.png |image= MapComplete_Screenshot.png
|genre= POI, editor, ${layout.id} |genre= POI, editor, ${layout.id}