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
4 changed files with 35 additions and 9 deletions
Showing only changes of commit f414ec1c0d - Show all commits

View File

@ -317,7 +317,7 @@ def ficheEtud(etudid=None):
<span class="link_bul_pdf">
<a class="stdlink" href="{
url_for("notes.etud_bulletins_pdf", scodoc_dept=g.scodoc_dept, etudid=etudid)
}">tous les bulletins</a>
}">Tous les bulletins</a>
</span>
"""
last_formsemestre: FormSemestre = db.session.get(
@ -339,11 +339,11 @@ def ficheEtud(etudid=None):
] = f"""<span class="link_bul_pdf"><a class="stdlink" href="{
url_for("notes.formsemestre_inscription_with_modules_form",
scodoc_dept=g.scodoc_dept, etudid=etudid)
}">inscrire à un autre semestre</a></span>
}">Inscrire à un autre semestre</a></span>
<span class="link_bul_pdf"><a class="stdlink" href="{
url_for("notes.jury_delete_manual",
scodoc_dept=g.scodoc_dept, etudid=etudid)
}">éditer toutes décisions de jury</a></span>
}">Éditer toutes décisions de jury</a></span>
"""
else:
@ -508,11 +508,26 @@ def ficheEtud(etudid=None):
last_sem = FormSemestre.query.get_or_404(info["sems"][0]["formsemestre_id"])
if last_sem.formation.is_apc():
but_cursus = cursus_but.EtudCursusBUT(etud, last_sem.formation)
info["but_cursus_mkup"] = render_template(
info[
"but_cursus_mkup"
] = f"""
<div class="section_but">
{render_template(
"but/cursus_etud.j2",
cursus=but_cursus,
scu=scu,
)
)}
<div>
<a href="{url_for("notes.validation_rcues",
scodoc_dept=g.scodoc_dept, etudid=etudid,
formsemestre_id=last_formsemestre.id)}"
title="Visualiser les compétences BUT"
>
<img src="/ScoDoc/static/icons/parcours-but.png" alt="validation_rcues" height="100px"/>
</a>
</div>
</div>
"""
tmpl = """<div class="menus_etud">%(menus_etud)s</div>
<div class="ficheEtud" id="ficheEtud"><table>

View File

@ -915,6 +915,17 @@ td.fichetitre2 .fl {
font-weight: normal;
}
div.section_but {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-evenly;
}
div.section_but > div.link_validation_rcues {
align-self: center;
}
.ficheannotations {
background-color: #f7d892;
width: 910px;

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

View File

@ -52,7 +52,7 @@
{% if parcour %}
parcours {{parcour.code}} « {{parcour.libelle}} »
{% else %}
non inscrit à un parcours de la spécialité
non inscrit{{sco.etud.e}} à un parcours de la spécialité
{% endif %}
</div>