diff --git a/app/scodoc/html_sco_header.py b/app/scodoc/html_sco_header.py index 54e0176b8..28d6249b2 100644 --- a/app/scodoc/html_sco_header.py +++ b/app/scodoc/html_sco_header.py @@ -134,7 +134,7 @@ def scodoc_top_html_header(page_title="ScoDoc: bienvenue"): def sco_header( # optional args page_title="", # page title - no_side_bar=False, # hide sidebar + no_sidebar=False, # hide sidebar cssstyles=(), # additionals CSS sheets javascripts=(), # additionals JS filenames to load scripts=(), # script to put in page header @@ -154,13 +154,13 @@ def sco_header( params = { "page_title": page_title or sco_version.SCONAME, - "no_side_bar": no_side_bar, + "no_sidebar": no_sidebar, "ScoURL": url_for("scolar.index_html", scodoc_dept=g.scodoc_dept), "encoding": scu.SCO_ENCODING, "titrebandeau_mkup": "" + titrebandeau + "", "authuser": current_user.user_name, } - if no_side_bar: + if no_sidebar: params["margin_left"] = "1em" else: params["margin_left"] = "140px" @@ -217,7 +217,7 @@ def sco_header( {scu.CUSTOM_HTML_HEADER} -{'' if no_side_bar else html_sidebar.sidebar(etudid)} +{'' if no_sidebar else html_sidebar.sidebar(etudid)}
""" ) diff --git a/app/scodoc/sco_archives_formsemestre.py b/app/scodoc/sco_archives_formsemestre.py index f2fbde23b..cbcbd201b 100644 --- a/app/scodoc/sco_archives_formsemestre.py +++ b/app/scodoc/sco_archives_formsemestre.py @@ -127,7 +127,7 @@ def do_formsemestre_archive( [ html_sco_header.sco_header( page_title=f"Moyennes archivées le {date}", - no_side_bar=True, + no_sidebar=True, ), f'

Valeurs archivées le {date}

', """