aboutsummaryrefslogtreecommitdiff
path: root/templates/gititemsummary.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/gititemsummary.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/gititemsummary.qtpl.go')
-rw-r--r--templates/gititemsummary.qtpl.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/gititemsummary.qtpl.go b/templates/gititemsummary.qtpl.go
index aa41a17..99cb984 100644
--- a/templates/gititemsummary.qtpl.go
+++ b/templates/gititemsummary.qtpl.go
@@ -22,29 +22,29 @@ type GitItemSummaryPage struct {
}
//line gititemsummary.qtpl:6
-func (g *GitItemSummaryPage) StreamNav(qw422016 *qt422016.Writer, name string) {
+func (g *GitItemSummaryPage) StreamNav(qw422016 *qt422016.Writer, name, ref string) {
//line gititemsummary.qtpl:6
- StreamGitItemNav(qw422016, name, Summary)
+ StreamGitItemNav(qw422016, name, ref, Summary)
//line gititemsummary.qtpl:6
}
//line gititemsummary.qtpl:6
-func (g *GitItemSummaryPage) WriteNav(qq422016 qtio422016.Writer, name string) {
+func (g *GitItemSummaryPage) WriteNav(qq422016 qtio422016.Writer, name, ref string) {
//line gititemsummary.qtpl:6
qw422016 := qt422016.AcquireWriter(qq422016)
//line gititemsummary.qtpl:6
- g.StreamNav(qw422016, name)
+ g.StreamNav(qw422016, name, ref)
//line gititemsummary.qtpl:6
qt422016.ReleaseWriter(qw422016)
//line gititemsummary.qtpl:6
}
//line gititemsummary.qtpl:6
-func (g *GitItemSummaryPage) Nav(name string) string {
+func (g *GitItemSummaryPage) Nav(name, ref string) string {
//line gititemsummary.qtpl:6
qb422016 := qt422016.AcquireByteBuffer()
//line gititemsummary.qtpl:6
- g.WriteNav(qb422016, name)
+ g.WriteNav(qb422016, name, ref)
//line gititemsummary.qtpl:6
qs422016 := string(qb422016.B)
//line gititemsummary.qtpl:6