// Code generated by qtc from "recent_changes.qtpl". DO NOT EDIT. // See https://github.com/valyala/quicktemplate for details. //line templates/recent_changes.qtpl:1 package templates //line templates/recent_changes.qtpl:1 import ( qtio422016 "io" qt422016 "github.com/valyala/quicktemplate" ) //line templates/recent_changes.qtpl:1 var ( _ = qtio422016.Copy _ = qt422016.AcquireByteBuffer ) //line templates/recent_changes.qtpl:1 func StreamRecentChangesHTML(qw422016 *qt422016.Writer, changes []string, n int) { //line templates/recent_changes.qtpl:1 qw422016.N().S(`

Recent Changes

`) //line templates/recent_changes.qtpl:25 qw422016.N().S(`
`) //line templates/recent_changes.qtpl:28 if len(changes) == 0 { //line templates/recent_changes.qtpl:28 qw422016.N().S(`

Could not find any recent changes.

`) //line templates/recent_changes.qtpl:30 } else { //line templates/recent_changes.qtpl:30 qw422016.N().S(` `) //line templates/recent_changes.qtpl:31 for i, entry := range changes { //line templates/recent_changes.qtpl:31 qw422016.N().S(` `) //line templates/recent_changes.qtpl:36 } //line templates/recent_changes.qtpl:36 qw422016.N().S(` `) //line templates/recent_changes.qtpl:37 } //line templates/recent_changes.qtpl:37 qw422016.N().S(`
`) //line templates/recent_changes.qtpl:40 } //line templates/recent_changes.qtpl:40 func WriteRecentChangesHTML(qq422016 qtio422016.Writer, changes []string, n int) { //line templates/recent_changes.qtpl:40 qw422016 := qt422016.AcquireWriter(qq422016) //line templates/recent_changes.qtpl:40 StreamRecentChangesHTML(qw422016, changes, n) //line templates/recent_changes.qtpl:40 qt422016.ReleaseWriter(qw422016) //line templates/recent_changes.qtpl:40 } //line templates/recent_changes.qtpl:40 func RecentChangesHTML(changes []string, n int) string { //line templates/recent_changes.qtpl:40 qb422016 := qt422016.AcquireByteBuffer() //line templates/recent_changes.qtpl:40 WriteRecentChangesHTML(qb422016, changes, n) //line templates/recent_changes.qtpl:40 qs422016 := string(qb422016.B) //line templates/recent_changes.qtpl:40 qt422016.ReleaseByteBuffer(qb422016) //line templates/recent_changes.qtpl:40 return qs422016 //line templates/recent_changes.qtpl:40 }