templates: move roadworks templates to be shared (#73652)

This commit is contained in:
Frédéric Péters 2023-01-20 15:36:16 +01:00
parent 55550a18f1
commit b867f487fd
4 changed files with 28 additions and 0 deletions

View File

@ -23,6 +23,7 @@
"cache_duration": 3600,
"force_async": false,
"name": "Chantiers gênants",
"template-name": "combo/json/montpellier-chantiers-genants.html",
"url": "{{url}}",
"form": [
{"label": "Adresse du GEOJSON des chantiers gênants", "varname": "url", "required": true}
@ -32,6 +33,7 @@
"cache_duration": 3600,
"force_async": false,
"name": "Chantiers majeurs",
"template-name": "combo/json/montpellier-chantiers-majeurs.html",
"url": "{{url}}",
"form": [
{"label": "Adresse de récupération des fiches des chantiers majeurs", "varname": "url", "required": true}

View File

@ -3,5 +3,31 @@
"variables": {
"favicon": "montpellier/favicon.png",
"theme_color": "#EA5B0C"
},
"settings": {
"combo": {
"JSON_CELL_TYPES.update": {
"chantiers-genants": {
"cache_duration": 3600,
"force_async": false,
"name": "Chantiers gênants",
"template-name": "combo/json/montpellier-chantiers-genants.html",
"url": "{{url}}",
"form": [
{"label": "Adresse du GEOJSON des chantiers gênants", "varname": "url", "required": true}
]
},
"chantiers-majeurs": {
"cache_duration": 3600,
"force_async": false,
"name": "Chantiers majeurs",
"template-name": "combo/json/montpellier-chantiers-majeurs.html",
"url": "{{url}}",
"form": [
{"label": "Adresse de récupération des fiches des chantiers majeurs", "varname": "url", "required": true}
]
}
}
}
}
}