aboutsummaryrefslogtreecommitdiff
path: root/templates/gititemlog.qtpl.go
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2024-06-01 19:59:43 +0200
committerGabriel A. Giovanini <mail@gabrielgio.me>2024-06-01 19:59:43 +0200
commite3705f35c642e578625ce4574d189fa0b0869403 (patch)
treef63d779d4eb817ad6b5abed30f50ad3b85ffcab1 /templates/gititemlog.qtpl.go
parentf1643ffcbd543cacfe9ab5e46eafdd0c39cd47fd (diff)
downloadcerrado-e3705f35c642e578625ce4574d189fa0b0869403.tar.gz
cerrado-e3705f35c642e578625ce4574d189fa0b0869403.tar.bz2
cerrado-e3705f35c642e578625ce4574d189fa0b0869403.zip
feat: Add ref support
Now log and tree can be loaded using a given reference.
Diffstat (limited to 'templates/gititemlog.qtpl.go')
-rw-r--r--templates/gititemlog.qtpl.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/gititemlog.qtpl.go b/templates/gititemlog.qtpl.go
index e63c871..47e700d 100644
--- a/templates/gititemlog.qtpl.go
+++ b/templates/gititemlog.qtpl.go
@@ -26,29 +26,29 @@ type GitItemLogPage struct {
}
//line gititemlog.qtpl:9
-func (g *GitItemLogPage) StreamNav(qw422016 *qt422016.Writer, name string) {
+func (g *GitItemLogPage) StreamNav(qw422016 *qt422016.Writer, name, ref string) {
//line gititemlog.qtpl:9
- StreamGitItemNav(qw422016, name, Log)
+ StreamGitItemNav(qw422016, name, ref, Log)
//line gititemlog.qtpl:9
}
//line gititemlog.qtpl:9
-func (g *GitItemLogPage) WriteNav(qq422016 qtio422016.Writer, name string) {
+func (g *GitItemLogPage) WriteNav(qq422016 qtio422016.Writer, name, ref string) {
//line gititemlog.qtpl:9
qw422016 := qt422016.AcquireWriter(qq422016)
//line gititemlog.qtpl:9
- g.StreamNav(qw422016, name)
+ g.StreamNav(qw422016, name, ref)
//line gititemlog.qtpl:9
qt422016.ReleaseWriter(qw422016)
//line gititemlog.qtpl:9
}
//line gititemlog.qtpl:9
-func (g *GitItemLogPage) Nav(name string) string {
+func (g *GitItemLogPage) Nav(name, ref string) string {
//line gititemlog.qtpl:9
qb422016 := qt422016.AcquireByteBuffer()
//line gititemlog.qtpl:9
- g.WriteNav(qb422016, name)
+ g.WriteNav(qb422016, name, ref)
//line gititemlog.qtpl:9
qs422016 := string(qb422016.B)
//line gititemlog.qtpl:9