forked from ScoDoc/DocScoDoc
Config: message flash si inchangée
This commit is contained in:
parent
b6af7d45c9
commit
abffc00570
@ -82,7 +82,9 @@ def configuration():
|
|||||||
form_bonus.data["bonus_sport_func_name"]
|
form_bonus.data["bonus_sport_func_name"]
|
||||||
)
|
)
|
||||||
app.clear_scodoc_cache()
|
app.clear_scodoc_cache()
|
||||||
flash(f"Fonction bonus sport&culture configurée.")
|
flash("""Fonction bonus sport&culture configurée.""")
|
||||||
|
else:
|
||||||
|
flash("Fonction bonus inchangée.")
|
||||||
return redirect(url_for("scodoc.index"))
|
return redirect(url_for("scodoc.index"))
|
||||||
elif form_scodoc.submit_scodoc.data and form_scodoc.validate():
|
elif form_scodoc.submit_scodoc.data and form_scodoc.validate():
|
||||||
if ScoDocSiteConfig.enable_entreprises(
|
if ScoDocSiteConfig.enable_entreprises(
|
||||||
|
Loading…
Reference in New Issue
Block a user