Skip to content

Commit 42f8f42

Browse files
committed
add couches layers (ref PnX-SI#572)
1 parent 00e4f03 commit 42f8f42

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

atlas/atlasRoutes.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ def index():
171171

172172
return render_template(
173173
"templates/home/_main.html",
174+
page_name="home",
174175
observations=observations,
175176
observations_mailles=observations_mailles,
176177
mostViewTaxon=mostViewTaxon,
@@ -240,6 +241,7 @@ def ficheEspece(cd_nom):
240241

241242
return render_template(
242243
"templates/speciesSheet/_main.html",
244+
page_name="specie",
243245
taxon=taxon,
244246
listeTaxonsSearch=[],
245247
observations=[],
@@ -325,6 +327,7 @@ def area(id_area):
325327
group2_inpn = vmTaxonsRepository.get_group_inpn("group2_inpn", id_area)
326328
return render_template(
327329
"templates/areaSheet/_main.html",
330+
page_name="area",
328331
stats_area=stats_area,
329332
areaInfos=area,
330333
id_area=id_area,

atlas/configuration/config_schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ class Meta:
302302
)
303303
MAP = fields.Nested(MapConfig, load_default=dict())
304304
DEFAULT_LEGEND_DISPLAY = fields.Boolean(load_default=True)
305-
COUCHES_SIG = fields.List(fields.Nested(CouchesSigConfig), load_default=list())
305+
COUCHES_SIG = fields.List(fields.Nested(CouchesSigConfig), load_default=list())
306306
# coupe le nom_vernaculaire à la 1ere virgule sur les fiches espèces
307307
SPLIT_NOM_VERN = fields.Boolean(load_default=True)
308308
INTERACTIVE_MAP_LIST = fields.Boolean(load_default=True)

0 commit comments

Comments
 (0)