aboutsummaryrefslogtreecommitdiff
path: root/templates/gititemlog.qtpl.go
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2024-06-09 20:07:00 +0200
committerGabriel A. Giovanini <mail@gabrielgio.me>2024-06-09 20:07:00 +0200
commit2fcc394c53f995750b52ad06153041f61f0a0c55 (patch)
tree6828a8e2520fdf27611efb33509f3cc745de68d4 /templates/gititemlog.qtpl.go
parent02614b3781f6acdfc6df0e7b07d856b2779c4ac7 (diff)
downloadcerrado-2fcc394c53f995750b52ad06153041f61f0a0c55.tar.gz
cerrado-2fcc394c53f995750b52ad06153041f61f0a0c55.tar.bz2
cerrado-2fcc394c53f995750b52ad06153041f61f0a0c55.zip
feat: Add global reference to ref and name
Diffstat (limited to 'templates/gititemlog.qtpl.go')
-rw-r--r--templates/gititemlog.qtpl.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/gititemlog.qtpl.go b/templates/gititemlog.qtpl.go
index e3bac41..185b153 100644
--- a/templates/gititemlog.qtpl.go
+++ b/templates/gititemlog.qtpl.go
@@ -59,7 +59,7 @@ func (g *GitItemLogPage) Nav(name, ref string) string {
}
//line gititemlog.qtpl:11
-func (g *GitItemLogPage) StreamGitContent(qw422016 *qt422016.Writer) {
+func (g *GitItemLogPage) StreamGitContent(qw422016 *qt422016.Writer, name, ref string) {
//line gititemlog.qtpl:11
qw422016.N().S(`
<div class="logs">
@@ -106,22 +106,22 @@ func (g *GitItemLogPage) StreamGitContent(qw422016 *qt422016.Writer) {
}
//line gititemlog.qtpl:27
-func (g *GitItemLogPage) WriteGitContent(qq422016 qtio422016.Writer) {
+func (g *GitItemLogPage) WriteGitContent(qq422016 qtio422016.Writer, name, ref string) {
//line gititemlog.qtpl:27
qw422016 := qt422016.AcquireWriter(qq422016)
//line gititemlog.qtpl:27
- g.StreamGitContent(qw422016)
+ g.StreamGitContent(qw422016, name, ref)
//line gititemlog.qtpl:27
qt422016.ReleaseWriter(qw422016)
//line gititemlog.qtpl:27
}
//line gititemlog.qtpl:27
-func (g *GitItemLogPage) GitContent() string {
+func (g *GitItemLogPage) GitContent(name, ref string) string {
//line gititemlog.qtpl:27
qb422016 := qt422016.AcquireByteBuffer()
//line gititemlog.qtpl:27
- g.WriteGitContent(qb422016)
+ g.WriteGitContent(qb422016, name, ref)
//line gititemlog.qtpl:27
qs422016 := string(qb422016.B)
//line gititemlog.qtpl:27