2021-02-20 16:14:33 +00:00
|
|
|
// Code generated by qtc from "nav.qtpl". DO NOT EDIT.
|
|
|
|
// See https://github.com/valyala/quicktemplate for details.
|
|
|
|
|
|
|
|
//line views/nav.qtpl:1
|
|
|
|
package views
|
|
|
|
|
|
|
|
//line views/nav.qtpl:1
|
|
|
|
import "net/http"
|
|
|
|
|
|
|
|
//line views/nav.qtpl:2
|
|
|
|
import "strings"
|
|
|
|
|
|
|
|
//line views/nav.qtpl:3
|
2021-05-09 09:36:39 +00:00
|
|
|
import "github.com/bouncepaw/mycorrhiza/cfg"
|
2021-02-20 16:14:33 +00:00
|
|
|
|
|
|
|
//line views/nav.qtpl:4
|
2021-05-09 09:36:39 +00:00
|
|
|
import "github.com/bouncepaw/mycorrhiza/user"
|
2021-02-20 16:14:33 +00:00
|
|
|
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:5
|
|
|
|
import "github.com/bouncepaw/mycorrhiza/util"
|
|
|
|
|
2021-02-20 16:14:33 +00:00
|
|
|
// This is the <nav> seen on top of many pages.
|
|
|
|
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:8
|
2021-02-20 16:14:33 +00:00
|
|
|
import (
|
|
|
|
qtio422016 "io"
|
|
|
|
|
|
|
|
qt422016 "github.com/valyala/quicktemplate"
|
|
|
|
)
|
|
|
|
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:8
|
2021-02-20 16:14:33 +00:00
|
|
|
var (
|
|
|
|
_ = qtio422016.Copy
|
|
|
|
_ = qt422016.AcquireByteBuffer
|
|
|
|
)
|
|
|
|
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:9
|
2021-02-20 16:14:33 +00:00
|
|
|
type navEntry struct {
|
|
|
|
path string
|
|
|
|
title string
|
|
|
|
}
|
|
|
|
|
|
|
|
var navEntries = []navEntry{
|
2021-06-14 07:13:29 +00:00
|
|
|
{"hypha", "Hypha"},
|
2021-02-20 16:14:33 +00:00
|
|
|
{"edit", "Edit"},
|
2021-02-24 17:34:42 +00:00
|
|
|
{"attachment", "Attachment"},
|
2021-02-20 16:14:33 +00:00
|
|
|
{"history", "History"},
|
|
|
|
{"revision", "NOT REACHED"},
|
|
|
|
{"rename-ask", "Rename"},
|
|
|
|
{"delete-ask", "Delete"},
|
|
|
|
{"text", "Raw text"},
|
|
|
|
}
|
|
|
|
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:25
|
2021-02-20 16:14:33 +00:00
|
|
|
func StreamNavHTML(qw422016 *qt422016.Writer, rq *http.Request, hyphaName, navType string, revisionHash ...string) {
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:25
|
2021-02-20 16:14:33 +00:00
|
|
|
qw422016.N().S(`
|
|
|
|
`)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:27
|
2021-02-20 16:14:33 +00:00
|
|
|
u := user.FromRequest(rq)
|
|
|
|
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:28
|
2021-02-20 16:14:33 +00:00
|
|
|
qw422016.N().S(`
|
|
|
|
<nav class="hypha-tabs main-width">
|
|
|
|
<ul class="hypha-tabs__flex">
|
|
|
|
`)
|
2021-02-24 17:34:42 +00:00
|
|
|
//line views/nav.qtpl:31
|
2021-05-16 08:47:44 +00:00
|
|
|
for _, entry := range navEntries {
|
|
|
|
//line views/nav.qtpl:32
|
2021-02-20 16:14:33 +00:00
|
|
|
if navType == "revision" && entry.path == "revision" {
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:32
|
2021-02-20 16:14:33 +00:00
|
|
|
qw422016.N().S(` <li class="hypha-tabs__tab hypha-tabs__tab_active">
|
|
|
|
<span class="hypha-tabs__selection">`)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:34
|
2021-02-20 16:14:33 +00:00
|
|
|
qw422016.E().S(revisionHash[0])
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:34
|
2021-02-20 16:14:33 +00:00
|
|
|
qw422016.N().S(`</span>
|
|
|
|
</li>
|
|
|
|
`)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:36
|
2021-02-20 16:14:33 +00:00
|
|
|
} else if navType == entry.path {
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:36
|
2021-02-20 16:14:33 +00:00
|
|
|
qw422016.N().S(` <li class="hypha-tabs__tab hypha-tabs__tab_active">
|
|
|
|
<span class="hypha-tabs__selection">`)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:38
|
2021-02-20 16:14:33 +00:00
|
|
|
qw422016.E().S(entry.title)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:38
|
2021-02-20 16:14:33 +00:00
|
|
|
qw422016.N().S(`</span>
|
|
|
|
</li>
|
|
|
|
`)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:40
|
2021-02-20 16:14:33 +00:00
|
|
|
} else if entry.path != "revision" && u.CanProceed(entry.path) {
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:40
|
2021-02-20 16:14:33 +00:00
|
|
|
qw422016.N().S(` <li class="hypha-tabs__tab">
|
|
|
|
<a class="hypha-tabs__link" href="/`)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:42
|
2021-02-20 16:14:33 +00:00
|
|
|
qw422016.E().S(entry.path)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:42
|
2021-02-20 16:14:33 +00:00
|
|
|
qw422016.N().S(`/`)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:42
|
2021-02-20 16:14:33 +00:00
|
|
|
qw422016.E().S(hyphaName)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:42
|
2021-02-20 16:14:33 +00:00
|
|
|
qw422016.N().S(`">`)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:42
|
2021-02-20 16:14:33 +00:00
|
|
|
qw422016.E().S(entry.title)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:42
|
2021-02-20 16:14:33 +00:00
|
|
|
qw422016.N().S(`</a>
|
|
|
|
</li>
|
|
|
|
`)
|
2021-02-24 17:34:42 +00:00
|
|
|
//line views/nav.qtpl:44
|
2021-05-16 08:47:44 +00:00
|
|
|
}
|
|
|
|
//line views/nav.qtpl:45
|
2021-02-20 16:14:33 +00:00
|
|
|
}
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:45
|
2021-02-20 16:14:33 +00:00
|
|
|
qw422016.N().S(` </ul>
|
|
|
|
</nav>
|
|
|
|
`)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:48
|
2021-02-20 16:14:33 +00:00
|
|
|
}
|
|
|
|
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:48
|
2021-02-20 16:14:33 +00:00
|
|
|
func WriteNavHTML(qq422016 qtio422016.Writer, rq *http.Request, hyphaName, navType string, revisionHash ...string) {
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:48
|
2021-02-20 16:14:33 +00:00
|
|
|
qw422016 := qt422016.AcquireWriter(qq422016)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:48
|
2021-02-20 16:14:33 +00:00
|
|
|
StreamNavHTML(qw422016, rq, hyphaName, navType, revisionHash...)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:48
|
2021-02-20 16:14:33 +00:00
|
|
|
qt422016.ReleaseWriter(qw422016)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:48
|
2021-02-20 16:14:33 +00:00
|
|
|
}
|
|
|
|
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:48
|
2021-02-20 16:14:33 +00:00
|
|
|
func NavHTML(rq *http.Request, hyphaName, navType string, revisionHash ...string) string {
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:48
|
2021-02-20 16:14:33 +00:00
|
|
|
qb422016 := qt422016.AcquireByteBuffer()
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:48
|
2021-02-20 16:14:33 +00:00
|
|
|
WriteNavHTML(qb422016, rq, hyphaName, navType, revisionHash...)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:48
|
2021-02-20 16:14:33 +00:00
|
|
|
qs422016 := string(qb422016.B)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:48
|
2021-02-20 16:14:33 +00:00
|
|
|
qt422016.ReleaseByteBuffer(qb422016)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:48
|
2021-02-20 16:14:33 +00:00
|
|
|
return qs422016
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:48
|
2021-02-20 16:14:33 +00:00
|
|
|
}
|
|
|
|
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:50
|
2021-02-20 16:14:33 +00:00
|
|
|
func StreamUserMenuHTML(qw422016 *qt422016.Writer, u *user.User) {
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:50
|
2021-02-20 16:14:33 +00:00
|
|
|
qw422016.N().S(`
|
|
|
|
`)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:51
|
2021-07-02 08:20:03 +00:00
|
|
|
if cfg.UseAuth {
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:51
|
2021-02-20 16:14:33 +00:00
|
|
|
qw422016.N().S(`
|
2021-05-16 08:47:44 +00:00
|
|
|
<li class="header-links__entry header-links__entry_user">
|
|
|
|
`)
|
|
|
|
//line views/nav.qtpl:53
|
2021-02-20 16:14:33 +00:00
|
|
|
if u.Group == "anon" {
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:53
|
2021-02-20 16:14:33 +00:00
|
|
|
qw422016.N().S(`
|
2021-05-16 08:47:44 +00:00
|
|
|
<a href="/login" class="header-links__link">Login</a>
|
|
|
|
`)
|
|
|
|
//line views/nav.qtpl:55
|
2021-02-20 16:14:33 +00:00
|
|
|
} else {
|
2021-02-24 17:34:42 +00:00
|
|
|
//line views/nav.qtpl:55
|
2021-05-16 08:47:44 +00:00
|
|
|
qw422016.N().S(`
|
|
|
|
<a href="/hypha/`)
|
|
|
|
//line views/nav.qtpl:56
|
2021-05-09 09:36:39 +00:00
|
|
|
qw422016.E().S(cfg.UserHypha)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:56
|
2021-02-20 16:14:33 +00:00
|
|
|
qw422016.N().S(`/`)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:56
|
2021-02-20 16:14:33 +00:00
|
|
|
qw422016.E().S(u.Name)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:56
|
2021-02-20 16:14:33 +00:00
|
|
|
qw422016.N().S(`" class="header-links__link">`)
|
2021-02-24 17:34:42 +00:00
|
|
|
//line views/nav.qtpl:56
|
2021-05-16 08:47:44 +00:00
|
|
|
qw422016.E().S(util.BeautifulName(u.Name))
|
2021-02-24 17:34:42 +00:00
|
|
|
//line views/nav.qtpl:56
|
2021-05-16 08:47:44 +00:00
|
|
|
qw422016.N().S(`</a>
|
|
|
|
`)
|
|
|
|
//line views/nav.qtpl:57
|
|
|
|
}
|
|
|
|
//line views/nav.qtpl:57
|
2021-02-20 16:14:33 +00:00
|
|
|
qw422016.N().S(`
|
2021-05-16 08:47:44 +00:00
|
|
|
</li>
|
2021-02-20 16:14:33 +00:00
|
|
|
`)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:59
|
2021-02-20 16:14:33 +00:00
|
|
|
}
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:59
|
2021-02-20 16:14:33 +00:00
|
|
|
qw422016.N().S(`
|
|
|
|
`)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:60
|
2021-07-02 08:20:03 +00:00
|
|
|
if cfg.UseAuth && cfg.AllowRegistration && u.Group == "anon" {
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:60
|
|
|
|
qw422016.N().S(`
|
|
|
|
<li class="header-links__entry header-links__entry_register">
|
|
|
|
<a href="/register" class="header-links__link">Register</a>
|
|
|
|
</li>
|
|
|
|
`)
|
|
|
|
//line views/nav.qtpl:64
|
|
|
|
}
|
|
|
|
//line views/nav.qtpl:64
|
|
|
|
qw422016.N().S(`
|
|
|
|
`)
|
|
|
|
//line views/nav.qtpl:65
|
2021-02-20 16:14:33 +00:00
|
|
|
}
|
|
|
|
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:65
|
2021-02-20 16:14:33 +00:00
|
|
|
func WriteUserMenuHTML(qq422016 qtio422016.Writer, u *user.User) {
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:65
|
2021-02-20 16:14:33 +00:00
|
|
|
qw422016 := qt422016.AcquireWriter(qq422016)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:65
|
2021-02-20 16:14:33 +00:00
|
|
|
StreamUserMenuHTML(qw422016, u)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:65
|
2021-02-20 16:14:33 +00:00
|
|
|
qt422016.ReleaseWriter(qw422016)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:65
|
2021-02-20 16:14:33 +00:00
|
|
|
}
|
|
|
|
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:65
|
2021-02-20 16:14:33 +00:00
|
|
|
func UserMenuHTML(u *user.User) string {
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:65
|
2021-02-20 16:14:33 +00:00
|
|
|
qb422016 := qt422016.AcquireByteBuffer()
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:65
|
2021-02-20 16:14:33 +00:00
|
|
|
WriteUserMenuHTML(qb422016, u)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:65
|
2021-02-20 16:14:33 +00:00
|
|
|
qs422016 := string(qb422016.B)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:65
|
2021-02-20 16:14:33 +00:00
|
|
|
qt422016.ReleaseByteBuffer(qb422016)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:65
|
2021-02-20 16:14:33 +00:00
|
|
|
return qs422016
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:65
|
2021-02-20 16:14:33 +00:00
|
|
|
}
|
|
|
|
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:67
|
2021-07-06 18:09:45 +00:00
|
|
|
func streamsisterHyphaeHTML(qw422016 *qt422016.Writer, sisters string) {
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:67
|
2021-02-20 16:14:33 +00:00
|
|
|
qw422016.N().S(`
|
2021-07-06 18:09:45 +00:00
|
|
|
<aside class="sister-hyphae layout-card">
|
|
|
|
<h2 class="sister-hyphae__title layout-card__title">Sister hyphae</h2>
|
2021-02-20 16:14:33 +00:00
|
|
|
`)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:70
|
2021-07-06 18:09:45 +00:00
|
|
|
qw422016.N().S(sisters)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:70
|
2021-02-20 16:14:33 +00:00
|
|
|
qw422016.N().S(`
|
|
|
|
</aside>
|
|
|
|
`)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:72
|
2021-02-20 16:14:33 +00:00
|
|
|
}
|
|
|
|
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:72
|
2021-07-06 18:09:45 +00:00
|
|
|
func writesisterHyphaeHTML(qq422016 qtio422016.Writer, sisters string) {
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:72
|
2021-02-20 16:14:33 +00:00
|
|
|
qw422016 := qt422016.AcquireWriter(qq422016)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:72
|
2021-07-06 18:09:45 +00:00
|
|
|
streamsisterHyphaeHTML(qw422016, sisters)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:72
|
2021-02-20 16:14:33 +00:00
|
|
|
qt422016.ReleaseWriter(qw422016)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:72
|
2021-02-20 16:14:33 +00:00
|
|
|
}
|
|
|
|
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:72
|
2021-07-06 18:09:45 +00:00
|
|
|
func sisterHyphaeHTML(sisters string) string {
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:72
|
2021-02-20 16:14:33 +00:00
|
|
|
qb422016 := qt422016.AcquireByteBuffer()
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:72
|
2021-07-06 18:09:45 +00:00
|
|
|
writesisterHyphaeHTML(qb422016, sisters)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:72
|
2021-02-20 16:14:33 +00:00
|
|
|
qs422016 := string(qb422016.B)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:72
|
2021-02-20 16:14:33 +00:00
|
|
|
qt422016.ReleaseByteBuffer(qb422016)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:72
|
2021-02-20 16:14:33 +00:00
|
|
|
return qs422016
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:72
|
2021-02-20 16:14:33 +00:00
|
|
|
}
|
|
|
|
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:74
|
2021-02-20 16:14:33 +00:00
|
|
|
func StreamSubhyphaeHTML(qw422016 *qt422016.Writer, subhyphae string) {
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:74
|
2021-02-20 16:14:33 +00:00
|
|
|
qw422016.N().S(`
|
|
|
|
`)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:75
|
2021-02-20 16:14:33 +00:00
|
|
|
if strings.TrimSpace(subhyphae) != "" {
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:75
|
2021-02-20 16:14:33 +00:00
|
|
|
qw422016.N().S(`
|
|
|
|
<section class="subhyphae">
|
|
|
|
<h2 class="subhyphae__title">Subhyphae</h2>
|
|
|
|
<nav class="subhyphae__nav">
|
|
|
|
<ul class="subhyphae__list">
|
|
|
|
`)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:80
|
2021-02-20 16:14:33 +00:00
|
|
|
qw422016.N().S(subhyphae)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:80
|
2021-02-20 16:14:33 +00:00
|
|
|
qw422016.N().S(`
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
</section>
|
|
|
|
`)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:84
|
2021-02-20 16:14:33 +00:00
|
|
|
}
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:84
|
2021-02-20 16:14:33 +00:00
|
|
|
qw422016.N().S(`
|
|
|
|
`)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:85
|
2021-02-20 16:14:33 +00:00
|
|
|
}
|
|
|
|
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:85
|
2021-02-20 16:14:33 +00:00
|
|
|
func WriteSubhyphaeHTML(qq422016 qtio422016.Writer, subhyphae string) {
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:85
|
2021-02-20 16:14:33 +00:00
|
|
|
qw422016 := qt422016.AcquireWriter(qq422016)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:85
|
2021-02-20 16:14:33 +00:00
|
|
|
StreamSubhyphaeHTML(qw422016, subhyphae)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:85
|
2021-02-20 16:14:33 +00:00
|
|
|
qt422016.ReleaseWriter(qw422016)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:85
|
2021-02-20 16:14:33 +00:00
|
|
|
}
|
|
|
|
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:85
|
2021-02-20 16:14:33 +00:00
|
|
|
func SubhyphaeHTML(subhyphae string) string {
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:85
|
2021-02-20 16:14:33 +00:00
|
|
|
qb422016 := qt422016.AcquireByteBuffer()
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:85
|
2021-02-20 16:14:33 +00:00
|
|
|
WriteSubhyphaeHTML(qb422016, subhyphae)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:85
|
2021-02-20 16:14:33 +00:00
|
|
|
qs422016 := string(qb422016.B)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:85
|
2021-02-20 16:14:33 +00:00
|
|
|
qt422016.ReleaseByteBuffer(qb422016)
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:85
|
2021-02-20 16:14:33 +00:00
|
|
|
return qs422016
|
2021-05-16 08:47:44 +00:00
|
|
|
//line views/nav.qtpl:85
|
2021-02-20 16:14:33 +00:00
|
|
|
}
|