Add failsafe
This commit is contained in:
parent
c877927645
commit
41f33ec49d
1 changed files with 7 additions and 0 deletions
|
@ -473,6 +473,13 @@
|
|||
"id": "Import-button",
|
||||
"render": "{import_way_button(osm-buildings,building=$building;man_made=$man_made; source:geometry:date=$_grb_date; source:geometry:ref=$_grb_ref; addr:street=$addr:street; addr:housenumber=$addr:housenumber; building:min_level=$_building:min_level, Upload this building to OpenStreetMap,,_is_part_of_building=true,1,_moveable=true)}",
|
||||
"mappings": [
|
||||
{
|
||||
"#": "Failsafe",
|
||||
"if": "_grb_ref=",
|
||||
"then": {
|
||||
"en": "Did not yet calculate the metatags... Reopen this popup"
|
||||
}
|
||||
},
|
||||
{
|
||||
"#": "Actually the same as below, except that the text shows 'add the address' too",
|
||||
"if": {
|
||||
|
|
Loading…
Reference in a new issue