forked from MapComplete/MapComplete
Themes(guideposts): Clean tags when changing
This commit is contained in:
parent
d2ed83972f
commit
c465f756d6
1 changed files with 25 additions and 5 deletions
|
@ -144,7 +144,10 @@
|
|||
"type": "string",
|
||||
"placeholder": {
|
||||
"en": "Name on the guidepost"
|
||||
}
|
||||
},
|
||||
"addExtraTags": [
|
||||
"noname="
|
||||
]
|
||||
},
|
||||
"render": {
|
||||
"en": "Name noted on the guidepost: {name}"
|
||||
|
@ -155,6 +158,11 @@
|
|||
"then": {
|
||||
"en": "There is no name noted on this guidepost"
|
||||
}
|
||||
},
|
||||
{
|
||||
"addExtraTags": [
|
||||
"name="
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -168,7 +176,10 @@
|
|||
"type": "string",
|
||||
"placeholder": {
|
||||
"en": "Reference number of the guidepost"
|
||||
}
|
||||
},
|
||||
"addExtraTags": [
|
||||
"noref="
|
||||
]
|
||||
},
|
||||
"render": {
|
||||
"en": "Reference number of the guidepost: {ref}"
|
||||
|
@ -178,7 +189,10 @@
|
|||
"if": "noref=yes",
|
||||
"then": {
|
||||
"en": "There is no reference number noted on this guidepost"
|
||||
}
|
||||
},
|
||||
"addExtraTags": [
|
||||
"ref="
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -192,7 +206,10 @@
|
|||
"type": "float",
|
||||
"placeholder": {
|
||||
"en": "Elevation on the guidepost (in meters)"
|
||||
}
|
||||
},
|
||||
"addExtraTags": [
|
||||
"noele="
|
||||
]
|
||||
},
|
||||
"render": {
|
||||
"en": "Elevation noted on the guidepost: {ele} m"
|
||||
|
@ -202,7 +219,10 @@
|
|||
"if": "noele=yes",
|
||||
"then": {
|
||||
"en": "There is no elevation noted on this guidepost"
|
||||
}
|
||||
},
|
||||
"addExtraTags": [
|
||||
"ele="
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue