// Code generated by qtc from "hypha.qtpl". DO NOT EDIT.
// See https://github.com/valyala/quicktemplate for details.
//line views/hypha.qtpl:1
package views
//line views/hypha.qtpl:1
import "path/filepath"
//line views/hypha.qtpl:2
import "strings"
//line views/hypha.qtpl:4
import "github.com/bouncepaw/mycorrhiza/cfg"
//line views/hypha.qtpl:5
import "github.com/bouncepaw/mycorrhiza/hyphae"
//line views/hypha.qtpl:6
import "github.com/bouncepaw/mycorrhiza/l18n"
//line views/hypha.qtpl:7
import "github.com/bouncepaw/mycorrhiza/user"
//line views/hypha.qtpl:8
import "github.com/bouncepaw/mycorrhiza/util"
//line views/hypha.qtpl:10
import (
qtio422016 "io"
qt422016 "github.com/valyala/quicktemplate"
)
//line views/hypha.qtpl:10
var (
_ = qtio422016.Copy
_ = qt422016.AcquireByteBuffer
)
//line views/hypha.qtpl:10
func streambeautifulLink(qw422016 *qt422016.Writer, hyphaName string) {
//line views/hypha.qtpl:10
qw422016.N().S(``)
//line views/hypha.qtpl:10
qw422016.E().S(util.BeautifulName(hyphaName))
//line views/hypha.qtpl:10
qw422016.N().S(``)
//line views/hypha.qtpl:10
}
//line views/hypha.qtpl:10
func writebeautifulLink(qq422016 qtio422016.Writer, hyphaName string) {
//line views/hypha.qtpl:10
qw422016 := qt422016.AcquireWriter(qq422016)
//line views/hypha.qtpl:10
streambeautifulLink(qw422016, hyphaName)
//line views/hypha.qtpl:10
qt422016.ReleaseWriter(qw422016)
//line views/hypha.qtpl:10
}
//line views/hypha.qtpl:10
func beautifulLink(hyphaName string) string {
//line views/hypha.qtpl:10
qb422016 := qt422016.AcquireByteBuffer()
//line views/hypha.qtpl:10
writebeautifulLink(qb422016, hyphaName)
//line views/hypha.qtpl:10
qs422016 := string(qb422016.B)
//line views/hypha.qtpl:10
qt422016.ReleaseByteBuffer(qb422016)
//line views/hypha.qtpl:10
return qs422016
//line views/hypha.qtpl:10
}
//line views/hypha.qtpl:12
func streammycoLink(qw422016 *qt422016.Writer, lc *l18n.Localizer) {
//line views/hypha.qtpl:12
qw422016.N().S(``)
//line views/hypha.qtpl:12
qw422016.E().S(lc.Get("ui.notexist_write_myco"))
//line views/hypha.qtpl:12
qw422016.N().S(``)
//line views/hypha.qtpl:12
}
//line views/hypha.qtpl:12
func writemycoLink(qq422016 qtio422016.Writer, lc *l18n.Localizer) {
//line views/hypha.qtpl:12
qw422016 := qt422016.AcquireWriter(qq422016)
//line views/hypha.qtpl:12
streammycoLink(qw422016, lc)
//line views/hypha.qtpl:12
qt422016.ReleaseWriter(qw422016)
//line views/hypha.qtpl:12
}
//line views/hypha.qtpl:12
func mycoLink(lc *l18n.Localizer) string {
//line views/hypha.qtpl:12
qb422016 := qt422016.AcquireByteBuffer()
//line views/hypha.qtpl:12
writemycoLink(qb422016, lc)
//line views/hypha.qtpl:12
qs422016 := string(qb422016.B)
//line views/hypha.qtpl:12
qt422016.ReleaseByteBuffer(qb422016)
//line views/hypha.qtpl:12
return qs422016
//line views/hypha.qtpl:12
}
//line views/hypha.qtpl:14
func streamnonExistentHyphaNotice(qw422016 *qt422016.Writer, h *hyphae.Hypha, u *user.User, lc *l18n.Localizer) {
//line views/hypha.qtpl:14
qw422016.N().S(`
`)
//line views/hypha.qtpl:18
qw422016.E().S(lc.Get("ui.notexist_norights"))
//line views/hypha.qtpl:18
qw422016.N().S(` `)
//line views/hypha.qtpl:28
qw422016.N().S(lc.Get("ui.notexist_write_tip1", &l18n.Replacements{"myco": mycoLink(lc)}))
//line views/hypha.qtpl:28
qw422016.N().S(` `)
//line views/hypha.qtpl:29
qw422016.E().S(lc.Get("ui.notexist_write_tip2"))
//line views/hypha.qtpl:29
qw422016.N().S(` `)
//line views/hypha.qtpl:35
qw422016.E().S(lc.Get("ui.notexist_media_tip1"))
//line views/hypha.qtpl:35
qw422016.N().S(``)
//line views/hypha.qtpl:16
qw422016.E().S(lc.Get("ui.notexist_heading"))
//line views/hypha.qtpl:16
qw422016.N().S(`
`)
//line views/hypha.qtpl:17
if cfg.UseAuth && u.Group == "anon" {
//line views/hypha.qtpl:17
qw422016.N().S(`
`)
//line views/hypha.qtpl:23
} else {
//line views/hypha.qtpl:23
qw422016.N().S(`
📝 `)
//line views/hypha.qtpl:27
qw422016.E().S(lc.Get("ui.notexist_write"))
//line views/hypha.qtpl:27
qw422016.N().S(`
🖼 `)
//line views/hypha.qtpl:34
qw422016.E().S(lc.Get("ui.notexist_media"))
//line views/hypha.qtpl:34
qw422016.N().S(`