aboutsummaryrefslogtreecommitdiff
path: root/templates/gititemsummary.qtpl.go
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2024-10-05 15:03:54 +0200
committerGabriel A. Giovanini <mail@gabrielgio.me>2024-10-05 15:03:54 +0200
commit2fb43cc1271572d26298da70f823814cae87a3a0 (patch)
tree2147c691adc23b6833ab5a68670a31474a27135a /templates/gititemsummary.qtpl.go
parenta47effe083d70cae7f039ff207087447a7a82ee0 (diff)
downloadcerrado-2fb43cc1271572d26298da70f823814cae87a3a0.tar.gz
cerrado-2fb43cc1271572d26298da70f823814cae87a3a0.tar.bz2
cerrado-2fb43cc1271572d26298da70f823814cae87a3a0.zip
chore: Regenerate go templates
Now they should have correct path for the source template file.
Diffstat (limited to 'templates/gititemsummary.qtpl.go')
-rw-r--r--templates/gititemsummary.qtpl.go126
1 files changed, 63 insertions, 63 deletions
diff --git a/templates/gititemsummary.qtpl.go b/templates/gititemsummary.qtpl.go
index d70823e..41d5b67 100644
--- a/templates/gititemsummary.qtpl.go
+++ b/templates/gititemsummary.qtpl.go
@@ -1,134 +1,134 @@
// Code generated by qtc from "gititemsummary.qtpl". DO NOT EDIT.
// See https://github.com/valyala/quicktemplate for details.
-//line gititemsummary.qtpl:1
+//line templates/gititemsummary.qtpl:1
package templates
-//line gititemsummary.qtpl:1
+//line templates/gititemsummary.qtpl:1
import "github.com/go-git/go-git/v5/plumbing"
-//line gititemsummary.qtpl:2
+//line templates/gititemsummary.qtpl:2
import "github.com/go-git/go-git/v5/plumbing/object"
-//line gititemsummary.qtpl:3
+//line templates/gititemsummary.qtpl:3
import "git.gabrielgio.me/cerrado/pkg/git"
-//line gititemsummary.qtpl:5
+//line templates/gititemsummary.qtpl:5
import (
qtio422016 "io"
qt422016 "github.com/valyala/quicktemplate"
)
-//line gititemsummary.qtpl:5
+//line templates/gititemsummary.qtpl:5
var (
_ = qtio422016.Copy
_ = qt422016.AcquireByteBuffer
)
-//line gititemsummary.qtpl:6
+//line templates/gititemsummary.qtpl:6
type GitItemSummaryPage struct {
Tags []*git.TagReference
Branches []*plumbing.Reference
Commits []*object.Commit
}
-//line gititemsummary.qtpl:13
+//line templates/gititemsummary.qtpl:13
func (g *GitItemSummaryPage) StreamNav(qw422016 *qt422016.Writer, name, ref string) {
-//line gititemsummary.qtpl:13
+//line templates/gititemsummary.qtpl:13
StreamGitItemNav(qw422016, name, ref, Summary)
-//line gititemsummary.qtpl:13
+//line templates/gititemsummary.qtpl:13
}
-//line gititemsummary.qtpl:13
+//line templates/gititemsummary.qtpl:13
func (g *GitItemSummaryPage) WriteNav(qq422016 qtio422016.Writer, name, ref string) {
-//line gititemsummary.qtpl:13
+//line templates/gititemsummary.qtpl:13
qw422016 := qt422016.AcquireWriter(qq422016)
-//line gititemsummary.qtpl:13
+//line templates/gititemsummary.qtpl:13
g.StreamNav(qw422016, name, ref)
-//line gititemsummary.qtpl:13
+//line templates/gititemsummary.qtpl:13
qt422016.ReleaseWriter(qw422016)
-//line gititemsummary.qtpl:13
+//line templates/gititemsummary.qtpl:13
}
-//line gititemsummary.qtpl:13
+//line templates/gititemsummary.qtpl:13
func (g *GitItemSummaryPage) Nav(name, ref string) string {
-//line gititemsummary.qtpl:13
+//line templates/gititemsummary.qtpl:13
qb422016 := qt422016.AcquireByteBuffer()
-//line gititemsummary.qtpl:13
+//line templates/gititemsummary.qtpl:13
g.WriteNav(qb422016, name, ref)
-//line gititemsummary.qtpl:13
+//line templates/gititemsummary.qtpl:13
qs422016 := string(qb422016.B)
-//line gititemsummary.qtpl:13
+//line templates/gititemsummary.qtpl:13
qt422016.ReleaseByteBuffer(qb422016)
-//line gititemsummary.qtpl:13
+//line templates/gititemsummary.qtpl:13
return qs422016
-//line gititemsummary.qtpl:13
+//line templates/gititemsummary.qtpl:13
}
-//line gititemsummary.qtpl:15
+//line templates/gititemsummary.qtpl:15
func (g *GitItemSummaryPage) StreamGitContent(qw422016 *qt422016.Writer, name, ref string) {
-//line gititemsummary.qtpl:15
+//line templates/gititemsummary.qtpl:15
qw422016.N().S(`
<div class="row">
<div class="col-md-8">
`)
-//line gititemsummary.qtpl:18
+//line templates/gititemsummary.qtpl:18
StreamListTags(qw422016, name, g.Tags)
-//line gititemsummary.qtpl:18
+//line templates/gititemsummary.qtpl:18
qw422016.N().S(`
</div>
<div class="col-md-4">
<div class="event-list">
`)
-//line gititemsummary.qtpl:22
+//line templates/gititemsummary.qtpl:22
for _, b := range g.Branches {
-//line gititemsummary.qtpl:22
+//line templates/gititemsummary.qtpl:22
qw422016.N().S(`
<div class="row event">
<div class="col-4">
`)
-//line gititemsummary.qtpl:25
+//line templates/gititemsummary.qtpl:25
qw422016.E().S(b.Name().Short())
-//line gititemsummary.qtpl:25
+//line templates/gititemsummary.qtpl:25
qw422016.N().S(`
</div>
<div class="col-8">
<div class="float-end">
<a href="/`)
-//line gititemsummary.qtpl:29
+//line templates/gititemsummary.qtpl:29
qw422016.E().S(name)
-//line gititemsummary.qtpl:29
+//line templates/gititemsummary.qtpl:29
qw422016.N().S(`/archive/`)
-//line gititemsummary.qtpl:29
+//line templates/gititemsummary.qtpl:29
qw422016.E().S(b.Name().Short())
-//line gititemsummary.qtpl:29
+//line templates/gititemsummary.qtpl:29
qw422016.N().S(`.tar.gz">tar.gz</a>
<a href="/`)
-//line gititemsummary.qtpl:30
+//line templates/gititemsummary.qtpl:30
qw422016.E().S(name)
-//line gititemsummary.qtpl:30
+//line templates/gititemsummary.qtpl:30
qw422016.N().S(`/tree/`)
-//line gititemsummary.qtpl:30
+//line templates/gititemsummary.qtpl:30
qw422016.E().S(b.Name().Short())
-//line gititemsummary.qtpl:30
+//line templates/gititemsummary.qtpl:30
qw422016.N().S(`/">tree</a>
<a href="/`)
-//line gititemsummary.qtpl:31
+//line templates/gititemsummary.qtpl:31
qw422016.E().S(name)
-//line gititemsummary.qtpl:31
+//line templates/gititemsummary.qtpl:31
qw422016.N().S(`/log/`)
-//line gititemsummary.qtpl:31
+//line templates/gititemsummary.qtpl:31
qw422016.E().S(b.Name().Short())
-//line gititemsummary.qtpl:31
+//line templates/gititemsummary.qtpl:31
qw422016.N().S(`/">log</a>
</div>
</div>
</div>
`)
-//line gititemsummary.qtpl:35
+//line templates/gititemsummary.qtpl:35
}
-//line gititemsummary.qtpl:35
+//line templates/gititemsummary.qtpl:35
qw422016.N().S(`
</div>
</div>
@@ -136,48 +136,48 @@ func (g *GitItemSummaryPage) StreamGitContent(qw422016 *qt422016.Writer, name, r
<div class="row">
<div class="event-list">
`)
-//line gititemsummary.qtpl:41
+//line templates/gititemsummary.qtpl:41
for _, c := range g.Commits {
-//line gititemsummary.qtpl:41
+//line templates/gititemsummary.qtpl:41
qw422016.N().S(`
`)
-//line gititemsummary.qtpl:42
+//line templates/gititemsummary.qtpl:42
StreamCommit(qw422016, name, c, false)
-//line gititemsummary.qtpl:42
+//line templates/gititemsummary.qtpl:42
qw422016.N().S(`
`)
-//line gititemsummary.qtpl:43
+//line templates/gititemsummary.qtpl:43
}
-//line gititemsummary.qtpl:43
+//line templates/gititemsummary.qtpl:43
qw422016.N().S(`
</div>
</div>
`)
-//line gititemsummary.qtpl:46
+//line templates/gititemsummary.qtpl:46
}
-//line gititemsummary.qtpl:46
+//line templates/gititemsummary.qtpl:46
func (g *GitItemSummaryPage) WriteGitContent(qq422016 qtio422016.Writer, name, ref string) {
-//line gititemsummary.qtpl:46
+//line templates/gititemsummary.qtpl:46
qw422016 := qt422016.AcquireWriter(qq422016)
-//line gititemsummary.qtpl:46
+//line templates/gititemsummary.qtpl:46
g.StreamGitContent(qw422016, name, ref)
-//line gititemsummary.qtpl:46
+//line templates/gititemsummary.qtpl:46
qt422016.ReleaseWriter(qw422016)
-//line gititemsummary.qtpl:46
+//line templates/gititemsummary.qtpl:46
}
-//line gititemsummary.qtpl:46
+//line templates/gititemsummary.qtpl:46
func (g *GitItemSummaryPage) GitContent(name, ref string) string {
-//line gititemsummary.qtpl:46
+//line templates/gititemsummary.qtpl:46
qb422016 := qt422016.AcquireByteBuffer()
-//line gititemsummary.qtpl:46
+//line templates/gititemsummary.qtpl:46
g.WriteGitContent(qb422016, name, ref)
-//line gititemsummary.qtpl:46
+//line templates/gititemsummary.qtpl:46
qs422016 := string(qb422016.B)
-//line gititemsummary.qtpl:46
+//line templates/gititemsummary.qtpl:46
qt422016.ReleaseByteBuffer(qb422016)
-//line gititemsummary.qtpl:46
+//line templates/gititemsummary.qtpl:46
return qs422016
-//line gititemsummary.qtpl:46
+//line templates/gititemsummary.qtpl:46
}