// Code generated by qtc from "unattach.qtpl". DO NOT EDIT. // See https://github.com/valyala/quicktemplate for details. //line templates/unattach.qtpl:1 package templates //line templates/unattach.qtpl:1 import "net/http" //line templates/unattach.qtpl:2 import ( qtio422016 "io" qt422016 "github.com/valyala/quicktemplate" ) //line templates/unattach.qtpl:2 var ( _ = qtio422016.Copy _ = qt422016.AcquireByteBuffer ) //line templates/unattach.qtpl:2 func StreamUnattachAskHTML(qw422016 *qt422016.Writer, rq *http.Request, hyphaName string, isOld bool) { //line templates/unattach.qtpl:2 qw422016.N().S(`
`) //line templates/unattach.qtpl:4 streamnavHTML(qw422016, rq, hyphaName, "unattach-ask") //line templates/unattach.qtpl:4 qw422016.N().S(` `) //line templates/unattach.qtpl:5 if isOld { //line templates/unattach.qtpl:5 qw422016.N().S(`

Unattach `) //line templates/unattach.qtpl:7 qw422016.E().S(hyphaName) //line templates/unattach.qtpl:7 qw422016.N().S(`?

Do you really want to unattach hypha `) //line templates/unattach.qtpl:8 qw422016.E().S(hyphaName) //line templates/unattach.qtpl:8 qw422016.N().S(`?

Confirm

Cancel

`) //line templates/unattach.qtpl:12 } else { //line templates/unattach.qtpl:12 qw422016.N().S(` `) //line templates/unattach.qtpl:13 streamcannotUnattachDueToNonExistence(qw422016, hyphaName) //line templates/unattach.qtpl:13 qw422016.N().S(` `) //line templates/unattach.qtpl:14 } //line templates/unattach.qtpl:14 qw422016.N().S(`
`) //line templates/unattach.qtpl:16 } //line templates/unattach.qtpl:16 func WriteUnattachAskHTML(qq422016 qtio422016.Writer, rq *http.Request, hyphaName string, isOld bool) { //line templates/unattach.qtpl:16 qw422016 := qt422016.AcquireWriter(qq422016) //line templates/unattach.qtpl:16 StreamUnattachAskHTML(qw422016, rq, hyphaName, isOld) //line templates/unattach.qtpl:16 qt422016.ReleaseWriter(qw422016) //line templates/unattach.qtpl:16 } //line templates/unattach.qtpl:16 func UnattachAskHTML(rq *http.Request, hyphaName string, isOld bool) string { //line templates/unattach.qtpl:16 qb422016 := qt422016.AcquireByteBuffer() //line templates/unattach.qtpl:16 WriteUnattachAskHTML(qb422016, rq, hyphaName, isOld) //line templates/unattach.qtpl:16 qs422016 := string(qb422016.B) //line templates/unattach.qtpl:16 qt422016.ReleaseByteBuffer(qb422016) //line templates/unattach.qtpl:16 return qs422016 //line templates/unattach.qtpl:16 } //line templates/unattach.qtpl:18 func streamcannotUnattachDueToNonExistence(qw422016 *qt422016.Writer, hyphaName string) { //line templates/unattach.qtpl:18 qw422016.N().S(`

Cannot unattach `) //line templates/unattach.qtpl:20 qw422016.E().S(hyphaName) //line templates/unattach.qtpl:20 qw422016.N().S(`

This hypha does not exist.

Go back

`) //line templates/unattach.qtpl:24 } //line templates/unattach.qtpl:24 func writecannotUnattachDueToNonExistence(qq422016 qtio422016.Writer, hyphaName string) { //line templates/unattach.qtpl:24 qw422016 := qt422016.AcquireWriter(qq422016) //line templates/unattach.qtpl:24 streamcannotUnattachDueToNonExistence(qw422016, hyphaName) //line templates/unattach.qtpl:24 qt422016.ReleaseWriter(qw422016) //line templates/unattach.qtpl:24 } //line templates/unattach.qtpl:24 func cannotUnattachDueToNonExistence(hyphaName string) string { //line templates/unattach.qtpl:24 qb422016 := qt422016.AcquireByteBuffer() //line templates/unattach.qtpl:24 writecannotUnattachDueToNonExistence(qb422016, hyphaName) //line templates/unattach.qtpl:24 qs422016 := string(qb422016.B) //line templates/unattach.qtpl:24 qt422016.ReleaseByteBuffer(qb422016) //line templates/unattach.qtpl:24 return qs422016 //line templates/unattach.qtpl:24 }