forked from ScoDoc/ScoDoc
Fix: liens dans table liste absences
This commit is contained in:
parent
73cf9a6f4d
commit
beeca54a94
@ -959,8 +959,9 @@ def _TablesAbsEtud(
|
|||||||
)[0]
|
)[0]
|
||||||
if format == "html":
|
if format == "html":
|
||||||
ex.append(
|
ex.append(
|
||||||
'<a href="Notes/moduleimpl_status?moduleimpl_id=%s">%s</a>'
|
f"""<a href="{url_for('notes.moduleimpl_status',
|
||||||
% (mod["moduleimpl_id"], mod["module"]["code"])
|
scodoc_dept=g.scodoc_dept, moduleimpl_id=mod["moduleimpl_id"])}
|
||||||
|
">{mod["module"]["code"]}</a>"""
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
ex.append(mod["module"]["code"])
|
ex.append(mod["module"]["code"])
|
||||||
@ -976,8 +977,9 @@ def _TablesAbsEtud(
|
|||||||
)[0]
|
)[0]
|
||||||
if format == "html":
|
if format == "html":
|
||||||
ex.append(
|
ex.append(
|
||||||
'<a href="Notes/moduleimpl_status?moduleimpl_id=%s">%s</a>'
|
f"""<a href="{url_for('notes.moduleimpl_status',
|
||||||
% (mod["moduleimpl_id"], mod["module"]["code"])
|
scodoc_dept=g.scodoc_dept, moduleimpl_id=mod["moduleimpl_id"])}
|
||||||
|
">{mod["module"]["code"]}</a>"""
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
ex.append(mod["module"]["code"])
|
ex.append(mod["module"]["code"])
|
||||||
|
Loading…
Reference in New Issue
Block a user