1
0
forked from ScoDoc/ScoDoc

Parcours devient Cursus sur la fiche etud.

This commit is contained in:
Emmanuel Viennet 2023-06-01 20:13:29 +02:00
parent 42b232dd59
commit bfa8cf1683

View File

@ -337,9 +337,9 @@ def ficheEtud(etudid=None):
if not sco_permissions_check.can_suppress_annotation(a["id"]): if not sco_permissions_check.can_suppress_annotation(a["id"]):
a["dellink"] = "" a["dellink"] = ""
else: else:
a[ a["dellink"] = (
"dellink" '<td class="annodel"><a href="doSuppressAnnotation?etudid=%s&annotation_id=%s">%s</a></td>'
] = '<td class="annodel"><a href="doSuppressAnnotation?etudid=%s&annotation_id=%s">%s</a></td>' % ( % (
etudid, etudid,
a["id"], a["id"],
scu.icontag( scu.icontag(
@ -349,6 +349,7 @@ def ficheEtud(etudid=None):
title="Supprimer cette annotation", title="Supprimer cette annotation",
), ),
) )
)
author = sco_users.user_info(a["author"]) author = sco_users.user_info(a["author"])
alist.append( alist.append(
f"""<tr><td><span class="annodate">Le {a['date']} par {author['prenomnom']} : f"""<tr><td><span class="annodate">Le {a['date']} par {author['prenomnom']} :
@ -446,7 +447,7 @@ def ficheEtud(etudid=None):
info[ info[
"inscriptions_mkup" "inscriptions_mkup"
] = f"""<div class="ficheinscriptions" id="ficheinscriptions"> ] = f"""<div class="ficheinscriptions" id="ficheinscriptions">
<div class="fichetitre">Parcours</div>{info["liste_inscriptions"]} <div class="fichetitre">Cursus</div>{info["liste_inscriptions"]}
{info["link_bul_pdf"]} {info["link_inscrire_ailleurs"]} {info["link_bul_pdf"]} {info["link_inscrire_ailleurs"]}
</div>""" </div>"""