forked from ScoDoc/ScoDoc
fix bug "cannot revert preference to global"
This commit is contained in:
parent
72457a0651
commit
a24f670d95
@ -2125,7 +2125,7 @@ class BasePreferences(object):
|
|||||||
if formsemestre_id:
|
if formsemestre_id:
|
||||||
descr[
|
descr[
|
||||||
"explanation"
|
"explanation"
|
||||||
] = """ou <span class="spanlink"
|
] = f"""ou <span class="spanlink"
|
||||||
onclick="set_global_pref(this, '{pref_name}');"
|
onclick="set_global_pref(this, '{pref_name}');"
|
||||||
>utiliser paramètre global</span>"""
|
>utiliser paramètre global</span>"""
|
||||||
if formsemestre_id and self.is_global(formsemestre_id, pref_name):
|
if formsemestre_id and self.is_global(formsemestre_id, pref_name):
|
||||||
|
Loading…
Reference in New Issue
Block a user