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.
|
|
|
|
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:1
|
|
|
|
package hypview
|
2021-02-20 16:14:33 +00:00
|
|
|
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:1
|
2022-06-10 15:45:27 +00:00
|
|
|
import "github.com/bouncepaw/mycorrhiza/backlinks"
|
2021-02-20 16:14:33 +00:00
|
|
|
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:2
|
2022-06-10 15:45:27 +00:00
|
|
|
import "github.com/bouncepaw/mycorrhiza/cfg"
|
2021-08-31 19:39:33 +00:00
|
|
|
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:3
|
2022-06-10 15:45:27 +00:00
|
|
|
import "github.com/bouncepaw/mycorrhiza/hyphae"
|
2022-02-19 09:54:20 +00:00
|
|
|
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:4
|
2022-06-10 15:45:27 +00:00
|
|
|
import "github.com/bouncepaw/mycorrhiza/user"
|
2021-02-20 16:14:33 +00:00
|
|
|
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:5
|
2022-06-10 15:45:27 +00:00
|
|
|
import "github.com/bouncepaw/mycorrhiza/util"
|
|
|
|
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:6
|
2022-03-29 20:59:36 +00:00
|
|
|
import "github.com/bouncepaw/mycorrhiza/viewutil"
|
|
|
|
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:8
|
2021-02-20 16:14:33 +00:00
|
|
|
import (
|
|
|
|
qtio422016 "io"
|
|
|
|
|
|
|
|
qt422016 "github.com/valyala/quicktemplate"
|
|
|
|
)
|
|
|
|
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:8
|
2021-02-20 16:14:33 +00:00
|
|
|
var (
|
|
|
|
_ = qtio422016.Copy
|
|
|
|
_ = qt422016.AcquireByteBuffer
|
|
|
|
)
|
|
|
|
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:8
|
2022-07-01 17:38:44 +00:00
|
|
|
func streamhyphaInfoEntry(qw422016 *qt422016.Writer, h hyphae.Hypha, u *user.User, action string, hasToExist bool, displayText string) {
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:8
|
2021-08-08 19:19:55 +00:00
|
|
|
qw422016.N().S(`
|
|
|
|
`)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:9
|
2022-07-01 17:38:44 +00:00
|
|
|
flag := true
|
|
|
|
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:9
|
2022-07-01 17:38:44 +00:00
|
|
|
qw422016.N().S(`
|
|
|
|
`)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:10
|
2022-07-01 17:38:44 +00:00
|
|
|
switch h.(type) {
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:11
|
2022-07-01 17:38:44 +00:00
|
|
|
case *hyphae.EmptyHypha:
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:11
|
2022-07-01 17:38:44 +00:00
|
|
|
qw422016.N().S(`
|
|
|
|
`)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:12
|
2022-07-01 17:38:44 +00:00
|
|
|
flag = !hasToExist
|
|
|
|
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:12
|
2022-07-01 17:38:44 +00:00
|
|
|
qw422016.N().S(`
|
|
|
|
`)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:13
|
2022-07-01 17:38:44 +00:00
|
|
|
}
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:13
|
2022-07-01 17:38:44 +00:00
|
|
|
qw422016.N().S(`
|
|
|
|
`)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:14
|
2022-07-01 17:38:44 +00:00
|
|
|
if u.CanProceed(action) && flag {
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:14
|
2021-08-08 19:19:55 +00:00
|
|
|
qw422016.N().S(`
|
|
|
|
<li class="hypha-info__entry hypha-info__entry_`)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:15
|
2021-08-08 19:19:55 +00:00
|
|
|
qw422016.E().S(action)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:15
|
2021-08-08 19:19:55 +00:00
|
|
|
qw422016.N().S(`">
|
|
|
|
<a class="hypha-info__link" href="/`)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:16
|
2021-08-08 19:19:55 +00:00
|
|
|
qw422016.E().S(action)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:16
|
2021-08-08 19:19:55 +00:00
|
|
|
qw422016.N().S(`/`)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:16
|
2022-02-03 22:29:01 +00:00
|
|
|
qw422016.E().S(h.CanonicalName())
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:16
|
2021-08-08 19:19:55 +00:00
|
|
|
qw422016.N().S(`">`)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:16
|
2021-08-08 19:19:55 +00:00
|
|
|
qw422016.E().S(displayText)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:16
|
2021-08-08 19:19:55 +00:00
|
|
|
qw422016.N().S(`</a>
|
|
|
|
</li>
|
|
|
|
`)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:18
|
2021-08-08 19:19:55 +00:00
|
|
|
}
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:18
|
2021-08-08 19:19:55 +00:00
|
|
|
qw422016.N().S(`
|
|
|
|
`)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:19
|
2021-02-20 16:14:33 +00:00
|
|
|
}
|
|
|
|
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:19
|
2022-07-01 17:38:44 +00:00
|
|
|
func writehyphaInfoEntry(qq422016 qtio422016.Writer, h hyphae.Hypha, u *user.User, action string, hasToExist bool, displayText string) {
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:19
|
2021-08-08 19:19:55 +00:00
|
|
|
qw422016 := qt422016.AcquireWriter(qq422016)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:19
|
2022-07-01 17:38:44 +00:00
|
|
|
streamhyphaInfoEntry(qw422016, h, u, action, hasToExist, displayText)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:19
|
2021-08-08 19:19:55 +00:00
|
|
|
qt422016.ReleaseWriter(qw422016)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:19
|
2021-02-20 16:14:33 +00:00
|
|
|
}
|
|
|
|
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:19
|
2022-07-01 17:38:44 +00:00
|
|
|
func hyphaInfoEntry(h hyphae.Hypha, u *user.User, action string, hasToExist bool, displayText string) string {
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:19
|
2021-08-08 19:19:55 +00:00
|
|
|
qb422016 := qt422016.AcquireByteBuffer()
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:19
|
2022-07-01 17:38:44 +00:00
|
|
|
writehyphaInfoEntry(qb422016, h, u, action, hasToExist, displayText)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:19
|
2021-08-08 19:19:55 +00:00
|
|
|
qs422016 := string(qb422016.B)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:19
|
2021-08-08 19:19:55 +00:00
|
|
|
qt422016.ReleaseByteBuffer(qb422016)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:19
|
2021-08-08 19:19:55 +00:00
|
|
|
return qs422016
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:19
|
2021-08-31 19:39:33 +00:00
|
|
|
}
|
|
|
|
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:21
|
2022-03-29 20:59:36 +00:00
|
|
|
func streamhyphaInfo(qw422016 *qt422016.Writer, meta viewutil.Meta, h hyphae.Hypha) {
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:21
|
2021-02-20 16:14:33 +00:00
|
|
|
qw422016.N().S(`
|
|
|
|
`)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:23
|
2022-03-22 13:57:25 +00:00
|
|
|
u := meta.U
|
|
|
|
lc := meta.Lc
|
2022-08-20 18:06:31 +00:00
|
|
|
backs := backlinks.BacklinksCount(h.CanonicalName())
|
2021-02-20 16:14:33 +00:00
|
|
|
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:26
|
2021-02-20 16:14:33 +00:00
|
|
|
qw422016.N().S(`
|
2021-08-08 19:19:55 +00:00
|
|
|
<nav class="hypha-info">
|
|
|
|
<ul class="hypha-info__list">
|
|
|
|
`)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:29
|
2022-07-01 17:38:44 +00:00
|
|
|
streamhyphaInfoEntry(qw422016, h, u, "history", false, lc.Get("ui.history_link"))
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:29
|
2021-08-08 19:19:55 +00:00
|
|
|
qw422016.N().S(`
|
|
|
|
`)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:30
|
2022-07-01 17:38:44 +00:00
|
|
|
streamhyphaInfoEntry(qw422016, h, u, "rename", true, lc.Get("ui.rename_link"))
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:30
|
2021-08-31 17:27:52 +00:00
|
|
|
qw422016.N().S(`
|
|
|
|
`)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:31
|
2022-07-01 17:38:44 +00:00
|
|
|
streamhyphaInfoEntry(qw422016, h, u, "delete", true, lc.Get("ui.delete_link"))
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:31
|
2021-12-20 21:08:21 +00:00
|
|
|
qw422016.N().S(`
|
|
|
|
`)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:32
|
2022-07-01 17:38:44 +00:00
|
|
|
streamhyphaInfoEntry(qw422016, h, u, "text", true, lc.Get("ui.text_link"))
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:32
|
2022-03-29 20:59:36 +00:00
|
|
|
qw422016.N().S(`
|
|
|
|
`)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:33
|
2022-07-01 17:38:44 +00:00
|
|
|
streamhyphaInfoEntry(qw422016, h, u, "media", true, lc.Get("ui.media_link"))
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:33
|
2022-06-10 15:45:27 +00:00
|
|
|
qw422016.N().S(`
|
|
|
|
`)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:34
|
2022-07-01 17:38:44 +00:00
|
|
|
streamhyphaInfoEntry(qw422016, h, u, "backlinks", false, lc.GetPlural("ui.backlinks_link", backs))
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:34
|
2021-08-08 19:19:55 +00:00
|
|
|
qw422016.N().S(`
|
|
|
|
</ul>
|
|
|
|
</nav>
|
2021-02-20 16:14:33 +00:00
|
|
|
`)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:37
|
2021-02-20 16:14:33 +00:00
|
|
|
}
|
|
|
|
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:37
|
2022-03-29 20:59:36 +00:00
|
|
|
func writehyphaInfo(qq422016 qtio422016.Writer, meta viewutil.Meta, h hyphae.Hypha) {
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:37
|
2021-02-20 16:14:33 +00:00
|
|
|
qw422016 := qt422016.AcquireWriter(qq422016)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:37
|
2022-03-22 13:57:25 +00:00
|
|
|
streamhyphaInfo(qw422016, meta, h)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:37
|
2021-02-20 16:14:33 +00:00
|
|
|
qt422016.ReleaseWriter(qw422016)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:37
|
2021-02-20 16:14:33 +00:00
|
|
|
}
|
|
|
|
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:37
|
2022-03-29 20:59:36 +00:00
|
|
|
func hyphaInfo(meta viewutil.Meta, h hyphae.Hypha) string {
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:37
|
2021-02-20 16:14:33 +00:00
|
|
|
qb422016 := qt422016.AcquireByteBuffer()
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:37
|
2022-03-22 13:57:25 +00:00
|
|
|
writehyphaInfo(qb422016, meta, h)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:37
|
2021-02-20 16:14:33 +00:00
|
|
|
qs422016 := string(qb422016.B)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:37
|
2021-02-20 16:14:33 +00:00
|
|
|
qt422016.ReleaseByteBuffer(qb422016)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:37
|
2021-02-20 16:14:33 +00:00
|
|
|
return qs422016
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:37
|
2021-02-20 16:14:33 +00:00
|
|
|
}
|
|
|
|
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:39
|
2022-04-09 11:55:55 +00:00
|
|
|
func streamcommonScripts(qw422016 *qt422016.Writer) {
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:39
|
2022-04-09 11:55:55 +00:00
|
|
|
qw422016.N().S(`
|
|
|
|
`)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:40
|
2022-04-09 11:55:55 +00:00
|
|
|
for _, scriptPath := range cfg.CommonScripts {
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:40
|
2022-04-09 11:55:55 +00:00
|
|
|
qw422016.N().S(`
|
|
|
|
<script src="`)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:41
|
2022-04-09 11:55:55 +00:00
|
|
|
qw422016.E().S(scriptPath)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:41
|
2022-04-09 11:55:55 +00:00
|
|
|
qw422016.N().S(`"></script>
|
|
|
|
`)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:42
|
2022-04-09 11:55:55 +00:00
|
|
|
}
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:42
|
2022-04-09 11:55:55 +00:00
|
|
|
qw422016.N().S(`
|
|
|
|
`)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:43
|
2022-04-09 11:55:55 +00:00
|
|
|
}
|
|
|
|
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:43
|
2022-04-09 11:55:55 +00:00
|
|
|
func writecommonScripts(qq422016 qtio422016.Writer) {
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:43
|
2022-04-09 11:55:55 +00:00
|
|
|
qw422016 := qt422016.AcquireWriter(qq422016)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:43
|
2022-04-09 11:55:55 +00:00
|
|
|
streamcommonScripts(qw422016)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:43
|
2022-04-09 11:55:55 +00:00
|
|
|
qt422016.ReleaseWriter(qw422016)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:43
|
2022-04-09 11:55:55 +00:00
|
|
|
}
|
|
|
|
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:43
|
2022-04-09 11:55:55 +00:00
|
|
|
func commonScripts() string {
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:43
|
2022-04-09 11:55:55 +00:00
|
|
|
qb422016 := qt422016.AcquireByteBuffer()
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:43
|
2022-04-09 11:55:55 +00:00
|
|
|
writecommonScripts(qb422016)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:43
|
2022-04-09 11:55:55 +00:00
|
|
|
qs422016 := string(qb422016.B)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:43
|
2022-04-09 11:55:55 +00:00
|
|
|
qt422016.ReleaseByteBuffer(qb422016)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:43
|
2022-04-09 11:55:55 +00:00
|
|
|
return qs422016
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:43
|
2022-06-10 15:45:27 +00:00
|
|
|
}
|
|
|
|
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:45
|
2022-06-10 15:45:27 +00:00
|
|
|
func streambeautifulLink(qw422016 *qt422016.Writer, hyphaName string) {
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:45
|
2022-06-10 15:45:27 +00:00
|
|
|
qw422016.N().S(`<a href="/hypha/`)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:45
|
2022-06-10 15:45:27 +00:00
|
|
|
qw422016.N().S(hyphaName)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:45
|
2022-06-10 15:45:27 +00:00
|
|
|
qw422016.N().S(`">`)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:45
|
2022-06-10 15:45:27 +00:00
|
|
|
qw422016.E().S(util.BeautifulName(hyphaName))
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:45
|
2022-06-10 15:45:27 +00:00
|
|
|
qw422016.N().S(`</a>`)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:45
|
2022-06-10 15:45:27 +00:00
|
|
|
}
|
|
|
|
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:45
|
2022-06-10 15:45:27 +00:00
|
|
|
func writebeautifulLink(qq422016 qtio422016.Writer, hyphaName string) {
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:45
|
2022-06-10 15:45:27 +00:00
|
|
|
qw422016 := qt422016.AcquireWriter(qq422016)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:45
|
2022-06-10 15:45:27 +00:00
|
|
|
streambeautifulLink(qw422016, hyphaName)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:45
|
2022-06-10 15:45:27 +00:00
|
|
|
qt422016.ReleaseWriter(qw422016)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:45
|
2022-06-10 15:45:27 +00:00
|
|
|
}
|
|
|
|
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:45
|
2022-06-10 15:45:27 +00:00
|
|
|
func beautifulLink(hyphaName string) string {
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:45
|
2022-06-10 15:45:27 +00:00
|
|
|
qb422016 := qt422016.AcquireByteBuffer()
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:45
|
2022-06-10 15:45:27 +00:00
|
|
|
writebeautifulLink(qb422016, hyphaName)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:45
|
2022-06-10 15:45:27 +00:00
|
|
|
qs422016 := string(qb422016.B)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:45
|
2022-06-10 15:45:27 +00:00
|
|
|
qt422016.ReleaseByteBuffer(qb422016)
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:45
|
2022-06-10 15:45:27 +00:00
|
|
|
return qs422016
|
2022-08-06 11:35:17 +00:00
|
|
|
//line hypview/nav.qtpl:45
|
2022-04-09 11:55:55 +00:00
|
|
|
}
|