Skip to content
Snippets Groups Projects
Commit 8b25591f authored by Jiří Kalvoda's avatar Jiří Kalvoda
Browse files

KG1: Fix table line without pdf

parent 981c13a3
No related branches found
No related tags found
No related merge requests found
......@@ -44,12 +44,12 @@ with web.Module("teaching_24_kg1") as module:
with b.tr:
b.line.td(date)
b.line.td(content)
with b.line.td:
if pdf:
p = web.Mpage(d, f"vyuka/24z/kg1/{id}", source=f'{id}.md',
page_builder=base_page,
source_code_module=(lambda: ...).__module__,
)
with b.line.td:
b.locallink(p)("Příklady")
return b.root
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment