diff options
Diffstat (limited to 'templates/gititemblob.qtpl.go')
-rw-r--r-- | templates/gititemblob.qtpl.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/gititemblob.qtpl.go b/templates/gititemblob.qtpl.go index 6b4e187..05e0667 100644 --- a/templates/gititemblob.qtpl.go +++ b/templates/gititemblob.qtpl.go @@ -57,7 +57,7 @@ func (g *GitItemBlobPage) Nav(name, ref string) string { } //line gititemblob.qtpl:10 -func (g *GitItemBlobPage) StreamGitContent(qw422016 *qt422016.Writer) { +func (g *GitItemBlobPage) StreamGitContent(qw422016 *qt422016.Writer, name, ref string) { //line gititemblob.qtpl:10 qw422016.N().S(` <div class="code-view"> @@ -72,22 +72,22 @@ func (g *GitItemBlobPage) StreamGitContent(qw422016 *qt422016.Writer) { } //line gititemblob.qtpl:14 -func (g *GitItemBlobPage) WriteGitContent(qq422016 qtio422016.Writer) { +func (g *GitItemBlobPage) WriteGitContent(qq422016 qtio422016.Writer, name, ref string) { //line gititemblob.qtpl:14 qw422016 := qt422016.AcquireWriter(qq422016) //line gititemblob.qtpl:14 - g.StreamGitContent(qw422016) + g.StreamGitContent(qw422016, name, ref) //line gititemblob.qtpl:14 qt422016.ReleaseWriter(qw422016) //line gititemblob.qtpl:14 } //line gititemblob.qtpl:14 -func (g *GitItemBlobPage) GitContent() string { +func (g *GitItemBlobPage) GitContent(name, ref string) string { //line gititemblob.qtpl:14 qb422016 := qt422016.AcquireByteBuffer() //line gititemblob.qtpl:14 - g.WriteGitContent(qb422016) + g.WriteGitContent(qb422016, name, ref) //line gititemblob.qtpl:14 qs422016 := string(qb422016.B) //line gititemblob.qtpl:14 |