ajout d'id pour les évaluations

This commit is contained in:
Aurélien Plancke 2021-06-04 17:32:12 +02:00
parent c0a304d4a1
commit 5ab3094305

View File

@ -457,10 +457,10 @@ def moduleimpl_status(context, moduleimpl_id=None, partition_id=None, REQUEST=No
if etat["nb_notes"] == 0:
if caneditevals:
H.append(
"""<a class="smallbutton" href="evaluation_delete?evaluation_id=%(evaluation_id)s">"""
"""<a class="smallbutton" id="delete_button_%(evaluation_id)s" href="evaluation_delete?evaluation_id=%(evaluation_id)s">"""
% eval
)
H.append(scu.icontag("delete_img_%(evaluation_id)s", alt="supprimer", title="Supprimer"))
H.append(scu.icontag("delete_img", alt="supprimer", title="Supprimer"))
if caneditevals:
H.append("""</a>""")
elif etat["evalcomplete"]: