forked from ScoDoc/ScoDoc
Table recap: liens vers évaluations
This commit is contained in:
parent
a9f0fcdd6d
commit
705aa54d77
@ -680,7 +680,7 @@ class ResultatsSemestre(ResultatsCache):
|
|||||||
row["_moy_gen_class"] = "col_moy_gen"
|
row["_moy_gen_class"] = "col_moy_gen"
|
||||||
# titre de la ligne:
|
# titre de la ligne:
|
||||||
row["prenom"] = row["nom_short"] = (
|
row["prenom"] = row["nom_short"] = (
|
||||||
row.get(f"_title", "") or bottom_line.capitalize()
|
row.get("_title", "") or bottom_line.capitalize()
|
||||||
)
|
)
|
||||||
row["_tr_class"] = bottom_line.lower() + (
|
row["_tr_class"] = bottom_line.lower() + (
|
||||||
(" " + row["_tr_class"]) if "_tr_class" in row else ""
|
(" " + row["_tr_class"]) if "_tr_class" in row else ""
|
||||||
@ -894,3 +894,8 @@ class ResultatsSemestre(ResultatsCache):
|
|||||||
bottom_infos["min"][cid] = "0"
|
bottom_infos["min"][cid] = "0"
|
||||||
bottom_infos["max"][cid] = scu.fmt_note(e.note_max)
|
bottom_infos["max"][cid] = scu.fmt_note(e.note_max)
|
||||||
bottom_infos["descr_evaluation"][cid] = e.description or ""
|
bottom_infos["descr_evaluation"][cid] = e.description or ""
|
||||||
|
bottom_infos["descr_evaluation"][f"_{cid}_target"] = url_for(
|
||||||
|
"notes.evaluation_listenotes",
|
||||||
|
scodoc_dept=g.scodoc_dept,
|
||||||
|
evaluation_id=e.id,
|
||||||
|
)
|
||||||
|
@ -3730,6 +3730,15 @@ table.table_recap tr.descr_evaluation {
|
|||||||
color: rgb(4, 16, 159);
|
color: rgb(4, 16, 159);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table.table_recap tr.descr_evaluation a {
|
||||||
|
color: rgb(4, 16, 159);
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.table_recap tr.descr_evaluation a:hover {
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
|
|
||||||
table.table_recap tr.descr_evaluation {
|
table.table_recap tr.descr_evaluation {
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user