Add failsafe

This commit is contained in:
pietervdvn 2022-02-27 20:49:42 +01:00
parent c877927645
commit 41f33ec49d

View file

@ -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": {