1
0
forked from ScoDoc/ScoDoc

Assiduites : fix description assi #719

This commit is contained in:
iziram 2023-09-11 09:16:50 +02:00
parent d0159df665
commit c4c7e0ef80
3 changed files with 3 additions and 4 deletions

View File

@ -728,7 +728,6 @@ def assiduite_edit(assiduite_id: int):
assiduite_unique.etudiant.id,
msg=f"assiduite: modif {assiduite_unique}",
)
db.session.add(assiduite_unique)
db.session.commit()
scass.simple_invalidate_cache(assiduite_unique.to_dict())
@ -848,7 +847,7 @@ def _edit_singular(assiduite_unique, data):
# Cas 3 : desc
desc = data.get("desc", False)
if desc is not False:
assiduite_unique.desc = desc
assiduite_unique.description = desc
# Cas 4 : est_just
if assiduite_unique.etat == scu.EtatAssiduite.PRESENT:

View File

@ -147,7 +147,7 @@
<span class="obj-content">${etat}</span>
</div>
<div id="user" class="obj-part">
<span class="obj-title">Créer par</span>
<span class="obj-title">Créée par</span>
<span class="obj-content">${user}</span>
</div>
</div>

View File

@ -169,7 +169,7 @@
<span class="obj-content">${etat}</span>
</div>
<div id="user" class="obj-part">
<span class="obj-title">Créer par</span>
<span class="obj-title">Créé par</span>
<span class="obj-content">${user}</span>
</div>
</div>