// Code generated by qtc from "stuff.qtpl". DO NOT EDIT. // See https://github.com/valyala/quicktemplate for details. //line views/stuff.qtpl:1 package views //line views/stuff.qtpl:1 import "github.com/bouncepaw/mycorrhiza/cfg" //line views/stuff.qtpl:2 import "github.com/bouncepaw/mycorrhiza/l18n" //line views/stuff.qtpl:4 import ( qtio422016 "io" qt422016 "github.com/valyala/quicktemplate" ) //line views/stuff.qtpl:4 var ( _ = qtio422016.Copy _ = qt422016.AcquireByteBuffer ) //line views/stuff.qtpl:4 func StreamHelp(qw422016 *qt422016.Writer, content, lang string, lc *l18n.Localizer) { //line views/stuff.qtpl:4 qw422016.N().S(`
`) //line views/stuff.qtpl:17 qw422016.E().S(lc.Get("help.empty_error_line_1")) //line views/stuff.qtpl:17 qw422016.N().S(`
`) //line views/stuff.qtpl:18 qw422016.E().S(lc.Get("help.empty_error_line_2a")) //line views/stuff.qtpl:18 qw422016.N().S(` `) //line views/stuff.qtpl:18 qw422016.E().S(lc.Get("help.empty_error_link")) //line views/stuff.qtpl:18 qw422016.N().S(` `) //line views/stuff.qtpl:18 qw422016.E().S(lc.Get("help.empty_error_line_2b")) //line views/stuff.qtpl:18 qw422016.N().S(`
`) //line views/stuff.qtpl:19 } //line views/stuff.qtpl:19 func WriteHelpEmptyError(qq422016 qtio422016.Writer, lc *l18n.Localizer) { //line views/stuff.qtpl:19 qw422016 := qt422016.AcquireWriter(qq422016) //line views/stuff.qtpl:19 StreamHelpEmptyError(qw422016, lc) //line views/stuff.qtpl:19 qt422016.ReleaseWriter(qw422016) //line views/stuff.qtpl:19 } //line views/stuff.qtpl:19 func HelpEmptyError(lc *l18n.Localizer) string { //line views/stuff.qtpl:19 qb422016 := qt422016.AcquireByteBuffer() //line views/stuff.qtpl:19 WriteHelpEmptyError(qb422016, lc) //line views/stuff.qtpl:19 qs422016 := string(qb422016.B) //line views/stuff.qtpl:19 qt422016.ReleaseByteBuffer(qb422016) //line views/stuff.qtpl:19 return qs422016 //line views/stuff.qtpl:19 } //line views/stuff.qtpl:21 func streamcommonScripts(qw422016 *qt422016.Writer) { //line views/stuff.qtpl:21 qw422016.N().S(` `) //line views/stuff.qtpl:22 for _, scriptPath := range cfg.CommonScripts { //line views/stuff.qtpl:22 qw422016.N().S(` `) //line views/stuff.qtpl:24 } //line views/stuff.qtpl:24 qw422016.N().S(` `) //line views/stuff.qtpl:25 } //line views/stuff.qtpl:25 func writecommonScripts(qq422016 qtio422016.Writer) { //line views/stuff.qtpl:25 qw422016 := qt422016.AcquireWriter(qq422016) //line views/stuff.qtpl:25 streamcommonScripts(qw422016) //line views/stuff.qtpl:25 qt422016.ReleaseWriter(qw422016) //line views/stuff.qtpl:25 } //line views/stuff.qtpl:25 func commonScripts() string { //line views/stuff.qtpl:25 qb422016 := qt422016.AcquireByteBuffer() //line views/stuff.qtpl:25 writecommonScripts(qb422016) //line views/stuff.qtpl:25 qs422016 := string(qb422016.B) //line views/stuff.qtpl:25 qt422016.ReleaseByteBuffer(qb422016) //line views/stuff.qtpl:25 return qs422016 //line views/stuff.qtpl:25 }