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", |         "type": "string", | ||||||
|         "placeholder": { |         "placeholder": { | ||||||
|           "en": "Name on the guidepost" |           "en": "Name on the guidepost" | ||||||
|         } |         }, | ||||||
|  |         "addExtraTags": [ | ||||||
|  |           "noname=" | ||||||
|  |         ] | ||||||
|       }, |       }, | ||||||
|       "render": { |       "render": { | ||||||
|         "en": "Name noted on the guidepost: {name}" |         "en": "Name noted on the guidepost: {name}" | ||||||
|  | @ -155,6 +158,11 @@ | ||||||
|           "then": { |           "then": { | ||||||
|             "en": "There is no name noted on this guidepost" |             "en": "There is no name noted on this guidepost" | ||||||
|           } |           } | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |           "addExtraTags": [ | ||||||
|  |             "name=" | ||||||
|  |           ] | ||||||
|         } |         } | ||||||
|       ] |       ] | ||||||
|     }, |     }, | ||||||
|  | @ -168,7 +176,10 @@ | ||||||
|         "type": "string", |         "type": "string", | ||||||
|         "placeholder": { |         "placeholder": { | ||||||
|           "en": "Reference number of the guidepost" |           "en": "Reference number of the guidepost" | ||||||
|         } |         }, | ||||||
|  |         "addExtraTags": [ | ||||||
|  |           "noref=" | ||||||
|  |         ] | ||||||
|       }, |       }, | ||||||
|       "render": { |       "render": { | ||||||
|         "en": "Reference number of the guidepost: {ref}" |         "en": "Reference number of the guidepost: {ref}" | ||||||
|  | @ -178,7 +189,10 @@ | ||||||
|           "if": "noref=yes", |           "if": "noref=yes", | ||||||
|           "then": { |           "then": { | ||||||
|             "en": "There is no reference number noted on this guidepost" |             "en": "There is no reference number noted on this guidepost" | ||||||
|           } |           }, | ||||||
|  |           "addExtraTags": [ | ||||||
|  |             "ref=" | ||||||
|  |           ] | ||||||
|         } |         } | ||||||
|       ] |       ] | ||||||
|     }, |     }, | ||||||
|  | @ -192,7 +206,10 @@ | ||||||
|         "type": "float", |         "type": "float", | ||||||
|         "placeholder": { |         "placeholder": { | ||||||
|           "en": "Elevation on the guidepost (in meters)" |           "en": "Elevation on the guidepost (in meters)" | ||||||
|         } |         }, | ||||||
|  |         "addExtraTags": [ | ||||||
|  |           "noele=" | ||||||
|  |         ] | ||||||
|       }, |       }, | ||||||
|       "render": { |       "render": { | ||||||
|         "en": "Elevation noted on the guidepost: {ele} m" |         "en": "Elevation noted on the guidepost: {ele} m" | ||||||
|  | @ -202,7 +219,10 @@ | ||||||
|           "if": "noele=yes", |           "if": "noele=yes", | ||||||
|           "then": { |           "then": { | ||||||
|             "en": "There is no elevation noted on this guidepost" |             "en": "There is no elevation noted on this guidepost" | ||||||
|           } |           }, | ||||||
|  |           "addExtraTags": [ | ||||||
|  |             "ele=" | ||||||
|  |           ] | ||||||
|         } |         } | ||||||
|       ] |       ] | ||||||
|     } |     } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue