diff options
author | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-06-09 20:07:00 +0200 |
---|---|---|
committer | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-06-09 20:07:00 +0200 |
commit | 2fcc394c53f995750b52ad06153041f61f0a0c55 (patch) | |
tree | 6828a8e2520fdf27611efb33509f3cc745de68d4 /templates/gititemsummary.qtpl.go | |
parent | 02614b3781f6acdfc6df0e7b07d856b2779c4ac7 (diff) | |
download | cerrado-2fcc394c53f995750b52ad06153041f61f0a0c55.tar.gz cerrado-2fcc394c53f995750b52ad06153041f61f0a0c55.tar.bz2 cerrado-2fcc394c53f995750b52ad06153041f61f0a0c55.zip |
feat: Add global reference to ref and name
Diffstat (limited to 'templates/gititemsummary.qtpl.go')
-rw-r--r-- | templates/gititemsummary.qtpl.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/gititemsummary.qtpl.go b/templates/gititemsummary.qtpl.go index 99cb984..d8606a5 100644 --- a/templates/gititemsummary.qtpl.go +++ b/templates/gititemsummary.qtpl.go @@ -55,7 +55,7 @@ func (g *GitItemSummaryPage) Nav(name, ref string) string { } //line gititemsummary.qtpl:8 -func (g *GitItemSummaryPage) StreamGitContent(qw422016 *qt422016.Writer) { +func (g *GitItemSummaryPage) StreamGitContent(qw422016 *qt422016.Writer, name, ref string) { //line gititemsummary.qtpl:8 qw422016.N().S(` <h4>Summary</h4> @@ -64,22 +64,22 @@ func (g *GitItemSummaryPage) StreamGitContent(qw422016 *qt422016.Writer) { } //line gititemsummary.qtpl:10 -func (g *GitItemSummaryPage) WriteGitContent(qq422016 qtio422016.Writer) { +func (g *GitItemSummaryPage) WriteGitContent(qq422016 qtio422016.Writer, name, ref string) { //line gititemsummary.qtpl:10 qw422016 := qt422016.AcquireWriter(qq422016) //line gititemsummary.qtpl:10 - g.StreamGitContent(qw422016) + g.StreamGitContent(qw422016, name, ref) //line gititemsummary.qtpl:10 qt422016.ReleaseWriter(qw422016) //line gititemsummary.qtpl:10 } //line gititemsummary.qtpl:10 -func (g *GitItemSummaryPage) GitContent() string { +func (g *GitItemSummaryPage) GitContent(name, ref string) string { //line gititemsummary.qtpl:10 qb422016 := qt422016.AcquireByteBuffer() //line gititemsummary.qtpl:10 - g.WriteGitContent(qb422016) + g.WriteGitContent(qb422016, name, ref) //line gititemsummary.qtpl:10 qs422016 := string(qb422016.B) //line gititemsummary.qtpl:10 |