forked from ScoDoc/ScoDoc
view_module_abs: sépare cols civ/nom/prenom
This commit is contained in:
parent
6a342245bc
commit
7666821fa6
@ -1196,11 +1196,13 @@ def view_module_abs(moduleimpl_id, fmt="html"):
|
|||||||
)
|
)
|
||||||
rows.append(
|
rows.append(
|
||||||
{
|
{
|
||||||
"nomprenom": etud.nomprenom,
|
"civilite": etud.civilite_str,
|
||||||
|
"nom": etud.nom_disp(),
|
||||||
|
"prenom": etud.prenom_str,
|
||||||
"just": nb_abs_just,
|
"just": nb_abs_just,
|
||||||
"nojust": nb_abs_nj,
|
"nojust": nb_abs_nj,
|
||||||
"total": nb_abs,
|
"total": nb_abs,
|
||||||
"_nomprenom_target": url_for(
|
"_nom_target": url_for(
|
||||||
"scolar.fiche_etud", scodoc_dept=g.scodoc_dept, etudid=etud.id
|
"scolar.fiche_etud", scodoc_dept=g.scodoc_dept, etudid=etud.id
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
@ -1224,12 +1226,14 @@ def view_module_abs(moduleimpl_id, fmt="html"):
|
|||||||
|
|
||||||
tab = GenTable(
|
tab = GenTable(
|
||||||
titles={
|
titles={
|
||||||
"nomprenom": "Nom",
|
"civilite": "Civ.",
|
||||||
|
"nom": "Nom",
|
||||||
|
"prenom": "Prénom",
|
||||||
"just": "Just.",
|
"just": "Just.",
|
||||||
"nojust": "Non Just.",
|
"nojust": "Non Just.",
|
||||||
"total": "Total",
|
"total": "Total",
|
||||||
},
|
},
|
||||||
columns_ids=("nomprenom", "just", "nojust", "total"),
|
columns_ids=("civilite", "nom", "prenom", "just", "nojust", "total"),
|
||||||
rows=rows,
|
rows=rows,
|
||||||
html_class="table_leftalign",
|
html_class="table_leftalign",
|
||||||
base_url=f"{request.base_url}?moduleimpl_id={moduleimpl_id}",
|
base_url=f"{request.base_url}?moduleimpl_id={moduleimpl_id}",
|
||||||
|
Loading…
Reference in New Issue
Block a user