forked from ScoDoc/ScoDoc
testAjoutID titre formation
This commit is contained in:
parent
fbd5a85651
commit
3b81625721
@ -229,7 +229,7 @@ def formation_list_table(context, formation_id=None, args={}, REQUEST=None):
|
|||||||
f["parcours_name"] = ""
|
f["parcours_name"] = ""
|
||||||
f["_titre_target"] = "ue_list?formation_id=%(formation_id)s" % f
|
f["_titre_target"] = "ue_list?formation_id=%(formation_id)s" % f
|
||||||
f["_titre_link_class"] = "stdlink"
|
f["_titre_link_class"] = "stdlink"
|
||||||
f["_titre_id"] = "titre%(formation_acronyme)s"
|
f["_titre_id"] = "titre_%s" % f["acronyme"]
|
||||||
# Ajoute les semestres associés à chaque formation:
|
# Ajoute les semestres associés à chaque formation:
|
||||||
f["sems"] = sco_formsemestre.do_formsemestre_list(
|
f["sems"] = sco_formsemestre.do_formsemestre_list(
|
||||||
context, args={"formation_id": f["formation_id"]}
|
context, args={"formation_id": f["formation_id"]}
|
||||||
@ -242,8 +242,8 @@ def formation_list_table(context, formation_id=None, args={}, REQUEST=None):
|
|||||||
for s in f["sems"]
|
for s in f["sems"]
|
||||||
]
|
]
|
||||||
+ [
|
+ [
|
||||||
'<a class="stdlink" id="addSemestre%(formation_acronyme)s href="formsemestre_createwithmodules?formation_id=%(formation_id)s&semestre_id=1">ajouter</a>'
|
'<a class="stdlink" id="addSemestre%s href="formsemestre_createwithmodules?formation_id=%s&semestre_id=1">ajouter</a>'
|
||||||
% f
|
% (f["acronyme"], f["formation_id"])
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
if f["sems"]:
|
if f["sems"]:
|
||||||
|
Loading…
Reference in New Issue
Block a user