Update opolka/ScoDoc from ScoDoc/ScoDoc #2

Merged
opolka merged 1272 commits from ScoDoc/ScoDoc:master into master 2024-05-27 09:11:04 +02:00
Showing only changes of commit d21388edb8 - Show all commits

View File

@ -299,27 +299,15 @@ def moduleimpl_status(moduleimpl_id=None, partition_id=None):
has_expression = sco_compute_moy.moduleimpl_has_expression(modimpl)
if has_expression:
H.append(
f"""<tr>
"""<tr>
<td class="fichetitre2" colspan="4">Règle de calcul:
<span class="formula" title="mode de calcul de la moyenne du module"
>moyenne=<tt>{modimpl.computation_expr}</tt>
</span>"""
<span class="warning">inutilisée dans cette version de ScoDoc</span>
</td>
</tr>
"""
)
H.append("""<span class="warning">inutilisée dans cette version de ScoDoc""")
if sco_moduleimpl.can_change_ens(moduleimpl_id, raise_exc=False):
H.append(
f""" <a href="{
url_for("notes.delete_moduleimpl_expr", scodoc_dept=g.scodoc_dept,
moduleimpl_id=moduleimpl_id)
}" class="stdlink">supprimer</a>"""
)
H.append("""</span>""")
H.append("</td></tr>")
else:
H.append(
'<tr><td colspan="4">'
# <em title="mode de calcul de la moyenne du module">règle de calcul standard</em>'
)
H.append('<tr><td colspan="4">')
H.append("</td></tr>")
H.append(
f"""<tr><td colspan="4"><span class="moduleimpl_abs_link"><a class="stdlink"