debian: remove settings moved to publik-base-theme config.json (#64909)

This commit is contained in:
Frédéric Péters 2022-05-27 14:14:10 +02:00
parent ec7b596ce4
commit 135fd7ed5d
1 changed files with 0 additions and 75 deletions

75
debian/50gnm.py vendored
View File

@ -10,60 +10,6 @@ COMBO_MAP_TILE_URLTEMPLATE = "https://tiles.entrouvert.org/hdm/{z}/{x}/{y}.png"
COMBO_MAP_ATTRIBUTION = "&copy; <a href='http://www.openstreetmap.org/copyright'>OpenStreetMap</a>"
COMBO_GEOCODING_SERVICE = 'https://nominatim.entrouvert.org'
COMBO_DASHBOARD_ENABLED = True
COMBO_DASHBOARD_NEW_TILE_POSITION = 'first'
COMBO_MAP_DEFAULT_POSITION = {'lat': '45.7577', 'lng': '4.8320'}
COMBO_MAP_MAX_BOUNDS = {
"corner1": {"lat": 45.9134, "lng": 4.6733},
"corner2": {"lat": 45.5583, "lng": 5.1574},
}
COMBO_PUBLIC_TEMPLATES.update(
{
"blank": {
"name": u"Blanc",
"template": "combo/page_template_blank.html",
},
"dashboard": {
"name": u"Tableau de bord",
"template": "combo/page_template_dashboard.html",
},
"iconbar": {
"name": u"Barre d'icônes",
"template": "combo/page_template_iconbar.html",
},
"iconbar-left-sidebar": {
"name": u"Barre d'icônes + barre à gauche",
"template": "combo/page_template_iconbar_left_sidebar.html",
},
"search": {
"name": u"Recherche",
"template": "combo/page_template_search.html",
},
"banner-two-columns": {
"name": "Deux colonnes + bandeau",
"template": "combo/page_template_banner_2cols.html",
},
"banner-one-column": {
"name": u"Une colonne + bandeau",
"template": "combo/page_template_banner.html",
},
"banner-two-columns-sidebar": {
"name": u"Deux colonnes et une barre latérale + bandeau",
"template": "combo/page_template_banner_2cols_sidebar.html",
},
"place": {
"name": u"Lieu",
"template": "combo/page_template_place.html",
},
"goto": {
"name": u"M'y rendre",
"template": "combo/page_template_goto.html",
},
}
)
JSON_CELL_TYPES = {
"velov": {
"url": "https://%(data_username)s:%(data_password)s@download.data.grandlyon.com/ws/rdata/jcd_jcdecaux.jcdvelov/all.json?field=gid&value=[gid]"
@ -570,15 +516,6 @@ JSON_CELL_TYPES = {
},
}
COMBO_ASSET_SLOTS = {
"banner:cut": {"label": u"Logo bandeau pour Grand Lyon Connect"},
"commune:banner": {"label": u"Bandeau communal"},
"passerelle:cartads:dossier": {"label": u"Image tuile dossier urbanisme"},
"platforms:large-image": {
"label": "Grande image pour les plateformes (Twitter, Facebook, LinkedIn, etc.) (1200×630)"
},
}
PRODUCER_LABELS = {
'atmo': u'ATMO Auvergne Rhône-Alpes',
'rnsa': u'RNSA',
@ -715,18 +652,6 @@ for tile, tile_label in tiles:
if tile not in ('taxi', 'tcl', 'velov'):
COMBO_ASSET_SLOTS['picture:banner:%s' % tile] = {'label': u'Photographie/bannière %s' % tile_label}
WCS_FORM_ASSET_SLOTS = {
"picture": {"prefix": u"Photographie"},
"picture:banner": {"prefix": u"Photographie/bannière"},
"logo": {"prefix": u"Picto"},
}
COMBO_MAP_LAYER_ASSET_SLOTS = {
'marker': {
'prefix': 'Marqueur',
},
}
import memcache
memcache.SERVER_MAX_VALUE_LENGTH = 10 * 1024 * 1024