Lien a propos direct, ordre section, mini erreur dans marche.py
This commit is contained in:
+3
-1
@@ -177,7 +177,9 @@ navbar = dbc.Navbar(
|
||||
dbc.NavItem(
|
||||
dbc.NavLink(
|
||||
page["name"].replace(" ", " "),
|
||||
href=page["relative_path"],
|
||||
href=page["relative_path"] + "/presentation"
|
||||
if page["name"] == "À propos"
|
||||
else page["relative_path"],
|
||||
active="exact",
|
||||
)
|
||||
)
|
||||
|
||||
@@ -3,16 +3,16 @@ from dash import Input, Output, State, callback, html
|
||||
|
||||
SECTIONS = [
|
||||
{"key": "presentation", "label": "Présentation", "href": "/a-propos/presentation"},
|
||||
{"key": "explorer", "label": "Explorer le projet", "href": "/a-propos/explorer"},
|
||||
{"key": "sources", "label": "Sources de données", "href": "/a-propos/sources"},
|
||||
{"key": "qualite", "label": "Qualité des données", "href": "/a-propos/qualite"},
|
||||
{
|
||||
"key": "donnees-brutes",
|
||||
"label": "Données brutes",
|
||||
"href": "/a-propos/donnees-brutes",
|
||||
},
|
||||
{"key": "contact", "label": "Contact", "href": "/a-propos/contact"},
|
||||
{"key": "contribuer", "label": "Contribuer", "href": "/a-propos/contribuer"},
|
||||
{"key": "explorer", "label": "Explorer le projet", "href": "/a-propos/explorer"},
|
||||
{"key": "qualite", "label": "Qualité des données", "href": "/a-propos/qualite"},
|
||||
{"key": "sources", "label": "Sources de données", "href": "/a-propos/sources"},
|
||||
{"key": "contact", "label": "Contact", "href": "/a-propos/contact"},
|
||||
{
|
||||
"key": "mentions-legales",
|
||||
"label": "Mentions légales",
|
||||
|
||||
@@ -135,6 +135,7 @@ def update_marche_info(marche, titulaires):
|
||||
"considerationsEnvironnementales",
|
||||
]
|
||||
and col in marche
|
||||
and marche[col]
|
||||
and "," in marche[col]
|
||||
):
|
||||
col_values = marche[col].split(", ")
|
||||
|
||||
Reference in New Issue
Block a user