// Code generated by qtc from "modal.qtpl". DO NOT EDIT. // See https://github.com/valyala/quicktemplate for details. //line views/modal.qtpl:1 package views //line views/modal.qtpl:1 import "net/http" //line views/modal.qtpl:2 import "github.com/bouncepaw/mycorrhiza/util" //line views/modal.qtpl:4 import ( qtio422016 "io" qt422016 "github.com/valyala/quicktemplate" ) //line views/modal.qtpl:4 var ( _ = qtio422016.Copy _ = qt422016.AcquireByteBuffer ) //line views/modal.qtpl:4 func StreamDeleteAskHTML(qw422016 *qt422016.Writer, rq *http.Request, hyphaName string, isOld bool) { //line views/modal.qtpl:4 qw422016.N().S(` `) //line views/modal.qtpl:5 streammodalBegin(qw422016, "delete-confirm", hyphaName, "", "Delete "+util.BeautifulName(hyphaName)+"?") //line views/modal.qtpl:9 qw422016.N().S(` `) //line views/modal.qtpl:10 streammodalReallyWant(qw422016, hyphaName, "unattach") //line views/modal.qtpl:10 qw422016.N().S(`

In this version of Mycorrhiza Wiki you cannot undelete a deleted hypha but the history can still be accessed.

`) //line views/modal.qtpl:12 streammodalEnd(qw422016, hyphaName, true) //line views/modal.qtpl:12 qw422016.N().S(` `) //line views/modal.qtpl:13 } //line views/modal.qtpl:13 func WriteDeleteAskHTML(qq422016 qtio422016.Writer, rq *http.Request, hyphaName string, isOld bool) { //line views/modal.qtpl:13 qw422016 := qt422016.AcquireWriter(qq422016) //line views/modal.qtpl:13 StreamDeleteAskHTML(qw422016, rq, hyphaName, isOld) //line views/modal.qtpl:13 qt422016.ReleaseWriter(qw422016) //line views/modal.qtpl:13 } //line views/modal.qtpl:13 func DeleteAskHTML(rq *http.Request, hyphaName string, isOld bool) string { //line views/modal.qtpl:13 qb422016 := qt422016.AcquireByteBuffer() //line views/modal.qtpl:13 WriteDeleteAskHTML(qb422016, rq, hyphaName, isOld) //line views/modal.qtpl:13 qs422016 := string(qb422016.B) //line views/modal.qtpl:13 qt422016.ReleaseByteBuffer(qb422016) //line views/modal.qtpl:13 return qs422016 //line views/modal.qtpl:13 } //line views/modal.qtpl:15 func StreamUnattachAskHTML(qw422016 *qt422016.Writer, rq *http.Request, hyphaName string, isOld bool) { //line views/modal.qtpl:15 qw422016.N().S(` `) //line views/modal.qtpl:16 streammodalBegin(qw422016, "unattach", hyphaName, "", "Unattach "+util.BeautifulName(hyphaName)+"?") //line views/modal.qtpl:20 qw422016.N().S(` `) //line views/modal.qtpl:21 streammodalReallyWant(qw422016, hyphaName, "unattach") //line views/modal.qtpl:21 qw422016.N().S(` `) //line views/modal.qtpl:22 streammodalEnd(qw422016, hyphaName, true) //line views/modal.qtpl:22 qw422016.N().S(` `) //line views/modal.qtpl:23 } //line views/modal.qtpl:23 func WriteUnattachAskHTML(qq422016 qtio422016.Writer, rq *http.Request, hyphaName string, isOld bool) { //line views/modal.qtpl:23 qw422016 := qt422016.AcquireWriter(qq422016) //line views/modal.qtpl:23 StreamUnattachAskHTML(qw422016, rq, hyphaName, isOld) //line views/modal.qtpl:23 qt422016.ReleaseWriter(qw422016) //line views/modal.qtpl:23 } //line views/modal.qtpl:23 func UnattachAskHTML(rq *http.Request, hyphaName string, isOld bool) string { //line views/modal.qtpl:23 qb422016 := qt422016.AcquireByteBuffer() //line views/modal.qtpl:23 WriteUnattachAskHTML(qb422016, rq, hyphaName, isOld) //line views/modal.qtpl:23 qs422016 := string(qb422016.B) //line views/modal.qtpl:23 qt422016.ReleaseByteBuffer(qb422016) //line views/modal.qtpl:23 return qs422016 //line views/modal.qtpl:23 } //line views/modal.qtpl:25 func StreamRenameAskHTML(qw422016 *qt422016.Writer, rq *http.Request, hyphaName string, isOld bool) { //line views/modal.qtpl:25 qw422016.N().S(` `) //line views/modal.qtpl:26 streammodalBegin(qw422016, "rename-confirm", hyphaName, ` method="post" enctype="multipart/form-data"`, "Rename "+util.BeautifulName(hyphaName)) //line views/modal.qtpl:30 qw422016.N().S(`

If you rename this hypha, all incoming links and all relative outcoming links will break. You will also lose all history for the new name. Rename carefully.

`) //line views/modal.qtpl:38 streammodalEnd(qw422016, hyphaName, false) //line views/modal.qtpl:38 qw422016.N().S(` `) //line views/modal.qtpl:39 } //line views/modal.qtpl:39 func WriteRenameAskHTML(qq422016 qtio422016.Writer, rq *http.Request, hyphaName string, isOld bool) { //line views/modal.qtpl:39 qw422016 := qt422016.AcquireWriter(qq422016) //line views/modal.qtpl:39 StreamRenameAskHTML(qw422016, rq, hyphaName, isOld) //line views/modal.qtpl:39 qt422016.ReleaseWriter(qw422016) //line views/modal.qtpl:39 } //line views/modal.qtpl:39 func RenameAskHTML(rq *http.Request, hyphaName string, isOld bool) string { //line views/modal.qtpl:39 qb422016 := qt422016.AcquireByteBuffer() //line views/modal.qtpl:39 WriteRenameAskHTML(qb422016, rq, hyphaName, isOld) //line views/modal.qtpl:39 qs422016 := string(qb422016.B) //line views/modal.qtpl:39 qt422016.ReleaseByteBuffer(qb422016) //line views/modal.qtpl:39 return qs422016 //line views/modal.qtpl:39 } //line views/modal.qtpl:41 func streammodalReallyWant(qw422016 *qt422016.Writer, hyphaName, verb string) { //line views/modal.qtpl:41 qw422016.N().S(` `) //line views/modal.qtpl:43 } //line views/modal.qtpl:43 func writemodalReallyWant(qq422016 qtio422016.Writer, hyphaName, verb string) { //line views/modal.qtpl:43 qw422016 := qt422016.AcquireWriter(qq422016) //line views/modal.qtpl:43 streammodalReallyWant(qw422016, hyphaName, verb) //line views/modal.qtpl:43 qt422016.ReleaseWriter(qw422016) //line views/modal.qtpl:43 } //line views/modal.qtpl:43 func modalReallyWant(hyphaName, verb string) string { //line views/modal.qtpl:43 qb422016 := qt422016.AcquireByteBuffer() //line views/modal.qtpl:43 writemodalReallyWant(qb422016, hyphaName, verb) //line views/modal.qtpl:43 qs422016 := string(qb422016.B) //line views/modal.qtpl:43 qt422016.ReleaseByteBuffer(qb422016) //line views/modal.qtpl:43 return qs422016 //line views/modal.qtpl:43 } //line views/modal.qtpl:45 func streammodalBegin(qw422016 *qt422016.Writer, path, hyphaName, formAttrs, legend string) { //line views/modal.qtpl:45 qw422016.N().S(`
`) //line views/modal.qtpl:60 } //line views/modal.qtpl:60 func writemodalEnd(qq422016 qtio422016.Writer, hyphaName string, shouldFocusOnConfirm bool) { //line views/modal.qtpl:60 qw422016 := qt422016.AcquireWriter(qq422016) //line views/modal.qtpl:60 streammodalEnd(qw422016, hyphaName, shouldFocusOnConfirm) //line views/modal.qtpl:60 qt422016.ReleaseWriter(qw422016) //line views/modal.qtpl:60 } //line views/modal.qtpl:60 func modalEnd(hyphaName string, shouldFocusOnConfirm bool) string { //line views/modal.qtpl:60 qb422016 := qt422016.AcquireByteBuffer() //line views/modal.qtpl:60 writemodalEnd(qb422016, hyphaName, shouldFocusOnConfirm) //line views/modal.qtpl:60 qs422016 := string(qb422016.B) //line views/modal.qtpl:60 qt422016.ReleaseByteBuffer(qb422016) //line views/modal.qtpl:60 return qs422016 //line views/modal.qtpl:60 }