forked from ScoDoc/ScoDoc
formsemestre_status: bulle coefs
This commit is contained in:
parent
570e2dc308
commit
4d257e63e8
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user