toodego: merge settings from combo-plugin-gnm into config.json (#64909)

This commit is contained in:
Frédéric Péters 2022-05-24 18:12:54 +02:00
parent 657e7f0b80
commit 3315a3d2d3
2 changed files with 49 additions and 0 deletions

View File

@ -57,8 +57,11 @@ for dirname in sorted(os.listdir('static')):
'COMBO_ASSET_SLOTS.update',
'COMBO_CELL_ASSET_SLOTS.update',
'COMBO_CELL_TEMPLATES.update',
'COMBO_DASHBOARD_ENABLED',
'COMBO_DASHBOARD_NEW_TILE_POSITION',
'COMBO_MAP_ATTRIBUTION',
'COMBO_MAP_DEFAULT_POSITION',
'COMBO_MAP_LAYER_ASSET_SLOTS.update',
'COMBO_MAP_MAX_BOUNDS',
'COMBO_MAP_TILE_URLTEMPLATE',
'COMBO_PUBLIC_TEMPLATES.update',

View File

@ -20,13 +20,59 @@
"combo": {
"PWA_NOTIFICATION_BADGE_URL": "/static/toodego/img/launcher-icon-192px-white.png",
"PWA_NOTIFICATION_ICON_URL": "/static/toodego/img/launcher-icon-192px.png",
"COMBO_DASHBOARD_ENABLED": true,
"COMBO_DASHBOARD_NEW_TILE_POSITION": "first",
"COMBO_MAP_DEFAULT_POSITION": {
"lat": "45.7577",
"lng": "4.8320"
},
"COMBO_ASSET_SLOTS.update": {
"banner:cut": {
"label": "Logo bandeau pour Grand Lyon Connect"
},
"commune:banner": {
"label": "Bandeau communal"
},
"passerelle:cartads:dossier": {
"label": "Image tuile dossier urbanisme"
},
"platforms:large-image": {
"label": "Grande image pour les plateformes (Twitter, Facebook, LinkedIn, etc.) (1200×630)"
}
},
"WCS_FORM_ASSET_SLOTS": {
"picture": {
"prefix": "Photographie"
},
"picture:banner": {
"prefix": "Photographie/bannière"
},
"logo": {
"prefix": "Picto"
}
},
"COMBO_MAP_LAYER_ASSET_SLOTS.update": {
"marker": {
"prefix": "Marqueur"
}
},
"COMBO_MAP_MAX_BOUNDS": {
"corner1": {"lat": 45.9134, "lng": 4.6733},
"corner2": {"lat": 45.5583, "lng": 5.1574}
},
"COMBO_PUBLIC_TEMPLATES.update": {
"search": {
"name": "Recherche",
"template": "combo/page_template_search.html"
},
"place": {
"name": "Lieu",
"template": "combo/page_template_place.html"
},
"goto": {
"name": "My rendre",
"template": "combo/page_template_goto.html"
}
}
}
}