1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2025-12-06 00:18:07 +00:00

Fix missing subhyphae in the tree view

This commit is contained in:
Mikhail Chekan
2021-10-01 17:18:11 +08:00
parent 49e5ca8a6f
commit 8a30d84dfb
3 changed files with 28 additions and 6 deletions

View File

@@ -82,7 +82,15 @@ func streamchildHTML(qw422016 *qt422016.Writer, c *child) {
//line tree/view.qtpl:21
qw422016.N().S(`
<li class="subhyphae__entry">
<a class="subhyphae__link" href="/hypha/`)
<a class="subhyphae__link `)
//line tree/view.qtpl:23
if !c.exists {
//line tree/view.qtpl:23
qw422016.N().S(`wikilink_new`)
//line tree/view.qtpl:23
}
//line tree/view.qtpl:23
qw422016.N().S(`" href="/hypha/`)
//line tree/view.qtpl:23
qw422016.E().S(c.name)
//line tree/view.qtpl:23