1
0
forked from ScoDoc/ScoDoc

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