page enseignants d'un module
This commit is contained in:
parent
089c3d96b4
commit
1b6fd99e94
@ -696,13 +696,17 @@ def edit_enseignants_form(REQUEST, moduleimpl_id):
|
||||
% login2display.get(M["responsable_id"], M["responsable_id"])
|
||||
]
|
||||
for ens in M["ens"]:
|
||||
u = User.query.get(ens["ens_id"])
|
||||
if u:
|
||||
nom = u.get_nomcomplet()
|
||||
else:
|
||||
nom = "? (compte inconnu)"
|
||||
H.append(
|
||||
'<li>%s (<a class="stdlink" href="edit_enseignants_form_delete?moduleimpl_id=%s&ens_id=%s">supprimer</a>)</li>'
|
||||
% (
|
||||
login2display.get(ens["ens_id"], ens["ens_id"]),
|
||||
moduleimpl_id,
|
||||
ens["ens_id"],
|
||||
)
|
||||
f"""
|
||||
<li>{nom} (<a class="stdlink" href="{
|
||||
url_for('notes.edit_enseignants_form_delete', scodoc_dept=g.scodoc_dept, moduleimpl_id=moduleimpl_id, ens_id=ens["ens_id"])
|
||||
}">supprimer</a>)
|
||||
</li>"""
|
||||
)
|
||||
H.append("</ul>")
|
||||
F = """<p class="help">Les enseignants d'un module ont le droit de
|
||||
|
Loading…
Reference in New Issue
Block a user