formsemestre_status: bulle coefs

This commit is contained in:
Emmanuel Viennet 2022-04-10 18:17:57 +02:00
parent 570e2dc308
commit 4d257e63e8
2 changed files with 8 additions and 0 deletions

View File

@ -1186,6 +1186,7 @@ def formsemestre_tableau_modules(
H.append("<td>")
if mod.module_type in (ModuleType.RESSOURCE, ModuleType.SAE):
coefs = mod.ue_coefs_list()
H.append(f'<a class="invisible_link" href="#" title="{mod_descr}">')
for coef in coefs:
if coef[1] > 0:
H.append(
@ -1197,6 +1198,7 @@ def formsemestre_tableau_modules(
)
else:
H.append(f"""<span class="mod_coef_indicator_zero"></span>""")
H.append("</a>")
H.append("</td>")
if mod.module_type in (
None, # ne devrait pas être nécessaire car la migration a remplacé les NULLs

View File

@ -2432,6 +2432,12 @@ span.bul_minmax:before {
content: " ";
}
a.invisible_link,
a.invisible_link:hover {
text-decoration: none;
color: rgb(20, 30, 30);
}
a.bull_link {
text-decoration: none;
color: rgb(20, 30, 30);