aboutsummaryrefslogtreecommitdiff
path: root/templates/gititemrefs.qtpl.go
diff options
context:
space:
mode:
Diffstat (limited to 'templates/gititemrefs.qtpl.go')
-rw-r--r--templates/gititemrefs.qtpl.go14
1 files changed, 7 insertions, 7 deletions
diff --git a/templates/gititemrefs.qtpl.go b/templates/gititemrefs.qtpl.go
index f2d2b6f..d2a362e 100644
--- a/templates/gititemrefs.qtpl.go
+++ b/templates/gititemrefs.qtpl.go
@@ -30,29 +30,29 @@ type GitItemRefsPage struct {
}
//line gititemrefs.qtpl:11
-func (g *GitItemRefsPage) StreamNav(qw422016 *qt422016.Writer, name string) {
+func (g *GitItemRefsPage) StreamNav(qw422016 *qt422016.Writer, name, ref string) {
//line gititemrefs.qtpl:11
- StreamGitItemNav(qw422016, name, Refs)
+ StreamGitItemNav(qw422016, name, ref, Refs)
//line gititemrefs.qtpl:11
}
//line gititemrefs.qtpl:11
-func (g *GitItemRefsPage) WriteNav(qq422016 qtio422016.Writer, name string) {
+func (g *GitItemRefsPage) WriteNav(qq422016 qtio422016.Writer, name, ref string) {
//line gititemrefs.qtpl:11
qw422016 := qt422016.AcquireWriter(qq422016)
//line gititemrefs.qtpl:11
- g.StreamNav(qw422016, name)
+ g.StreamNav(qw422016, name, ref)
//line gititemrefs.qtpl:11
qt422016.ReleaseWriter(qw422016)
//line gititemrefs.qtpl:11
}
//line gititemrefs.qtpl:11
-func (g *GitItemRefsPage) Nav(name string) string {
+func (g *GitItemRefsPage) Nav(name, ref string) string {
//line gititemrefs.qtpl:11
qb422016 := qt422016.AcquireByteBuffer()
//line gititemrefs.qtpl:11
- g.WriteNav(qb422016, name)
+ g.WriteNav(qb422016, name, ref)
//line gititemrefs.qtpl:11
qs422016 := string(qb422016.B)
//line gititemrefs.qtpl:11
@@ -117,7 +117,7 @@ func (g *GitItemRefsPage) StreamGitContent(qw422016 *qt422016.Writer) {
<div class="col-xxl">
`)
//line gititemrefs.qtpl:39
- qw422016.E().S(b.String())
+ qw422016.E().S(b.Name().Short())
//line gititemrefs.qtpl:39
qw422016.N().S(`
</div>