forked from ScoDoc/ScoDoc
Update opolka/ScoDoc from ScoDoc/ScoDoc #2
@ -987,7 +987,7 @@ def formsemestre_has_decisions(formsemestre_id):
|
||||
"""
|
||||
cnx = ndb.GetDBConnexion()
|
||||
validations = scolar_formsemestre_validation_list(
|
||||
cnx, args={"formsemestre_id": formsemestre_id}
|
||||
cnx, args={"formsemestre_id": formsemestre_id, "is_external": False}
|
||||
)
|
||||
return len(validations) > 0
|
||||
|
||||
|
@ -163,7 +163,7 @@ def _ue_coefs_html(coefs_lst) -> str:
|
||||
"""
|
||||
+ "\n".join(
|
||||
[
|
||||
f"""<div style="--coef:{coef};
|
||||
f"""<div style="--coef:{coef};
|
||||
{'background-color: ' + ue.color + ';' if ue.color else ''}
|
||||
"><div>{coef}</div>{ue.acronyme}</div>"""
|
||||
for ue, coef in coefs_lst
|
||||
@ -363,8 +363,8 @@ def moduleimpl_status(moduleimpl_id=None, partition_id=None):
|
||||
if formsemestre_has_decisions(formsemestre_id):
|
||||
H.append(
|
||||
"""<ul class="tf-msg">
|
||||
<li class="tf-msg warning">Décisions de jury saisies: seul le responsable du
|
||||
semestre peut saisir des notes (il devra modifier les décisions de jury).
|
||||
<li class="tf-msg warning">Décisions de jury saisies: seul le ou la responsable du
|
||||
semestre peut saisir des notes (elle devra modifier les décisions de jury).
|
||||
</li>
|
||||
</ul>"""
|
||||
)
|
||||
@ -419,7 +419,7 @@ def moduleimpl_status(moduleimpl_id=None, partition_id=None):
|
||||
if nb_evaluations > 0:
|
||||
top_table_links += f"""
|
||||
<a class="stdlink" style="margin-left:2em;" href="{
|
||||
url_for("notes.moduleimpl_evaluation_renumber",
|
||||
url_for("notes.moduleimpl_evaluation_renumber",
|
||||
scodoc_dept=g.scodoc_dept, moduleimpl_id=modimpl.id)
|
||||
}">Trier par date</a>
|
||||
"""
|
||||
|
@ -1,7 +1,7 @@
|
||||
# -*- mode: python -*-
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
SCOVERSION = "9.6.54"
|
||||
SCOVERSION = "9.6.55"
|
||||
|
||||
SCONAME = "ScoDoc"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user