Themes(guideposts): Clean tags when changing

This commit is contained in:
Robin van der Linde 2025-03-13 22:19:42 +01:00
parent d2ed83972f
commit c465f756d6
Signed by untrusted user: Robin-van-der-Linde
GPG key ID: 53956B3252478F0D

View file

@ -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="
]
}
]
}