Themes: disable 'disused' from delete config, delete less fast for shops but use softdeletion instead

This commit is contained in:
Pieter Vander Vennet 2024-01-29 17:51:12 +01:00
parent 53ea4273df
commit 28e737ed2e
5 changed files with 37 additions and 13 deletions

View file

@ -637,12 +637,27 @@
"softDeletionTags": {
"and": [
"shop=",
"phone=",
"website=",
"email=",
"opening_hours=",
"disused:shop:={shop}"
]
},
"extraDeleteReasons": [
"omitDefaultDeleteReasons": ["disused"],
"nonDeleteMappings": [
{
"explanation": {
"if": {
"and": [
"shop=",
"phone=",
"website=",
"email=",
"opening_hours=",
"disused:shop:={shop}"
]
},
"then": {
"nl": "{title()} is permanent gestopt",
"en": "{title()} has closed down permanently",
"de": "{title()} wurde dauerhaft geschlossen",
@ -650,8 +665,7 @@
"fr": "{title()} a fermé définitivement",
"ca": "{title()} ha tancat permanentment",
"cs": "{title()} je trvale uzavřen"
},
"changesetMessage": "shop_closed"
}
}
]
},