ajout d'id pour les évaluations

This commit is contained in:
Aurélien Plancke 2021-06-04 17:00:31 +02:00
parent 327e722ef4
commit 2414ea3138

View File

@ -169,9 +169,9 @@ def moduleimpl_status(context, moduleimpl_id=None, partition_id=None, REQUEST=No
<table> <table>
<tr> <tr>
<td class="fichetitre2">Responsable: </td><td class="redboldtext">""", <td class="fichetitre2">Responsable: </td><td class="redboldtext" id="ens_Responsable">""",
context.Users.user_info(M["responsable_id"])["nomprenom"], context.Users.user_info(M["responsable_id"])["nomprenom"],
"""<span class="blacktt">(%(responsable_id)s)</span>""" % M, """<span class="blacktt" >(%(responsable_id)s)</span>""" % M,
] ]
try: try:
sco_moduleimpl.can_change_module_resp(context, REQUEST, moduleimpl_id) sco_moduleimpl.can_change_module_resp(context, REQUEST, moduleimpl_id)
@ -181,7 +181,7 @@ def moduleimpl_status(context, moduleimpl_id=None, partition_id=None, REQUEST=No
) )
except: except:
pass pass
H.append("""</td><td id="ens_Dans_Module">""") H.append("""</td><td class="ens_Dans_Module">""")
H.append( H.append(
", ".join([context.Users.user_info(m["ens_id"])["nomprenom"] for m in M["ens"]]) ", ".join([context.Users.user_info(m["ens_id"])["nomprenom"] for m in M["ens"]])
) )