forked from ScoDoc/ScoDoc
Update opolka/ScoDoc from ScoDoc/ScoDoc #2
@ -1388,12 +1388,15 @@ def tableau_assiduite_actions():
|
||||
# XXX ca ne va pas car cela ne prend qu'un semestre
|
||||
# TODO reprendre le menu de la page ajout_assiduite_etud
|
||||
formsemestre = objet.get_formsemestre()
|
||||
if formsemestre:
|
||||
if objet.moduleimpl_id is not None:
|
||||
module = objet.moduleimpl_id
|
||||
elif objet.external_data is not None:
|
||||
module = objet.external_data.get("module", "")
|
||||
module = module.lower() if isinstance(module, str) else module
|
||||
module = _module_selector(formsemestre, module)
|
||||
else:
|
||||
module = "pas de semestre correspondant"
|
||||
|
||||
return render_template(
|
||||
"assiduites/pages/tableau_assiduite_actions.j2",
|
||||
|
@ -1,7 +1,7 @@
|
||||
# -*- mode: python -*-
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
SCOVERSION = "9.6.68"
|
||||
SCOVERSION = "9.6.69"
|
||||
|
||||
SCONAME = "ScoDoc"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user