// Code generated by qtc from "delete.qtpl". DO NOT EDIT. // See https://github.com/valyala/quicktemplate for details. //line templates/delete.qtpl:1 package templates //line templates/delete.qtpl:1 import "net/http" // This dialog is to be shown to a user when they try to delete a hypha. //line templates/delete.qtpl:4 import ( qtio422016 "io" qt422016 "github.com/valyala/quicktemplate" ) //line templates/delete.qtpl:4 var ( _ = qtio422016.Copy _ = qt422016.AcquireByteBuffer ) //line templates/delete.qtpl:4 func StreamDeleteAskHTML(qw422016 *qt422016.Writer, rq *http.Request, hyphaName string, isOld bool) { //line templates/delete.qtpl:4 qw422016.N().S(` `) //line templates/delete.qtpl:5 streamnavHTML(qw422016, rq, hyphaName, "delete-ask") //line templates/delete.qtpl:5 qw422016.N().S(`
`) //line templates/delete.qtpl:8 if isOld { //line templates/delete.qtpl:8 qw422016.N().S(`

Delete `) //line templates/delete.qtpl:10 qw422016.E().S(hyphaName) //line templates/delete.qtpl:10 qw422016.N().S(`?

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

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

Confirm

Cancel

`) //line templates/delete.qtpl:16 } else { //line templates/delete.qtpl:16 qw422016.N().S(` `) //line templates/delete.qtpl:17 streamcannotDeleteDueToNonExistence(qw422016, hyphaName) //line templates/delete.qtpl:17 qw422016.N().S(` `) //line templates/delete.qtpl:18 } //line templates/delete.qtpl:18 qw422016.N().S(`
`) //line templates/delete.qtpl:21 } //line templates/delete.qtpl:21 func WriteDeleteAskHTML(qq422016 qtio422016.Writer, rq *http.Request, hyphaName string, isOld bool) { //line templates/delete.qtpl:21 qw422016 := qt422016.AcquireWriter(qq422016) //line templates/delete.qtpl:21 StreamDeleteAskHTML(qw422016, rq, hyphaName, isOld) //line templates/delete.qtpl:21 qt422016.ReleaseWriter(qw422016) //line templates/delete.qtpl:21 } //line templates/delete.qtpl:21 func DeleteAskHTML(rq *http.Request, hyphaName string, isOld bool) string { //line templates/delete.qtpl:21 qb422016 := qt422016.AcquireByteBuffer() //line templates/delete.qtpl:21 WriteDeleteAskHTML(qb422016, rq, hyphaName, isOld) //line templates/delete.qtpl:21 qs422016 := string(qb422016.B) //line templates/delete.qtpl:21 qt422016.ReleaseByteBuffer(qb422016) //line templates/delete.qtpl:21 return qs422016 //line templates/delete.qtpl:21 } //line templates/delete.qtpl:23 func streamcannotDeleteDueToNonExistence(qw422016 *qt422016.Writer, hyphaName string) { //line templates/delete.qtpl:23 qw422016.N().S(`

Cannot delete `) //line templates/delete.qtpl:25 qw422016.E().S(hyphaName) //line templates/delete.qtpl:25 qw422016.N().S(`

This hypha does not exist.

Go back

`) //line templates/delete.qtpl:29 } //line templates/delete.qtpl:29 func writecannotDeleteDueToNonExistence(qq422016 qtio422016.Writer, hyphaName string) { //line templates/delete.qtpl:29 qw422016 := qt422016.AcquireWriter(qq422016) //line templates/delete.qtpl:29 streamcannotDeleteDueToNonExistence(qw422016, hyphaName) //line templates/delete.qtpl:29 qt422016.ReleaseWriter(qw422016) //line templates/delete.qtpl:29 } //line templates/delete.qtpl:29 func cannotDeleteDueToNonExistence(hyphaName string) string { //line templates/delete.qtpl:29 qb422016 := qt422016.AcquireByteBuffer() //line templates/delete.qtpl:29 writecannotDeleteDueToNonExistence(qb422016, hyphaName) //line templates/delete.qtpl:29 qs422016 := string(qb422016.B) //line templates/delete.qtpl:29 qt422016.ReleaseByteBuffer(qb422016) //line templates/delete.qtpl:29 return qs422016 //line templates/delete.qtpl:29 }