Compare commits
2 Commits
de7d66e8e8
...
031c877afb
Author | SHA1 | Date | |
---|---|---|---|
031c877afb | |||
c8c58e54c4 |
@ -206,7 +206,7 @@ def ue_edit(context, ue_id=None, create=False, formation_id=None, REQUEST=None):
|
||||
)
|
||||
if parcours.UE_IS_MODULE:
|
||||
# dans ce mode, crée un (unique) module dans l'UE:
|
||||
module_id = context.do_module_create(
|
||||
_ = context.do_module_create(
|
||||
{
|
||||
"titre": tf[2]["titre"],
|
||||
"code": tf[2]["acronyme"],
|
||||
@ -663,9 +663,7 @@ Si vous souhaitez modifier cette formation (par exemple pour y ajouter un module
|
||||
)
|
||||
# <li>(debug) <a class="stdlink" href="check_form_integrity?formation_id=%(formation_id)s">Vérifier cohérence</a></li>
|
||||
|
||||
warn, ue_multiples = sco_formsemestre_validation.check_formation_ues(
|
||||
context, formation_id
|
||||
)
|
||||
warn, _ = sco_formsemestre_validation.check_formation_ues(context, formation_id)
|
||||
H.append(warn)
|
||||
|
||||
H.append(context.sco_footer(REQUEST))
|
||||
@ -769,7 +767,6 @@ def edit_ue_set_code_apogee(context, id=None, value=None, REQUEST=None):
|
||||
ues = context.do_ue_list(args={"ue_id": ue_id})
|
||||
if not ues:
|
||||
return "ue invalide"
|
||||
ue = ues[0]
|
||||
|
||||
do_ue_edit(
|
||||
context,
|
||||
@ -850,7 +847,9 @@ def formation_table_recap(context, formation_id, format="html", REQUEST=None):
|
||||
columns_ids=columns_ids,
|
||||
rows=T,
|
||||
titles=titles,
|
||||
origin="Généré par %s le " % scu.VERSION.SCONAME + scu.timedate_human_repr() + "",
|
||||
origin="Généré par %s le " % scu.VERSION.SCONAME
|
||||
+ scu.timedate_human_repr()
|
||||
+ "",
|
||||
caption=title,
|
||||
html_caption=title,
|
||||
html_class="table_leftalign",
|
||||
|
@ -675,10 +675,6 @@ def formsemestre_pvjury_pdf(
|
||||
tf[2]["showTitle"] = True
|
||||
else:
|
||||
tf[2]["showTitle"] = False
|
||||
if tf[2]["with_paragraph_nom"]:
|
||||
tf[2]["with_paragraph_nom"] = True
|
||||
else:
|
||||
tf[2]["with_paragraph_nom"] = False
|
||||
if tf[2]["anonymous"]:
|
||||
tf[2]["anonymous"] = True
|
||||
else:
|
||||
@ -773,12 +769,10 @@ def descrform_pvjury(context, sem):
|
||||
(
|
||||
"with_paragraph_nom",
|
||||
{
|
||||
"input_type": "checkbox",
|
||||
"input_type": "boolcheckbox",
|
||||
"title": "Avec date naissance et code",
|
||||
"explanation": "ajoute informations sous le nom",
|
||||
"default": "1",
|
||||
"labels": [""],
|
||||
"allowed_values": ("1",),
|
||||
"default": True,
|
||||
},
|
||||
),
|
||||
(
|
||||
|
Loading…
Reference in New Issue
Block a user