1// Code generated by qtc from "gititemsummary.qtpl". DO NOT EDIT.
2// See https://github.com/valyala/quicktemplate for details.
3
4//line gititemsummary.qtpl:1
5package templates
6
7//line gititemsummary.qtpl:1
8import (
9 qtio422016 "io"
10
11 qt422016 "github.com/valyala/quicktemplate"
12)
13
14//line gititemsummary.qtpl:1
15var (
16 _ = qtio422016.Copy
17 _ = qt422016.AcquireByteBuffer
18)
19
20//line gititemsummary.qtpl:2
21type GitItemSummaryPage struct {
22}
23
24//line gititemsummary.qtpl:6
25func (g *GitItemSummaryPage) StreamNav(qw422016 *qt422016.Writer, name, ref string) {
26//line gititemsummary.qtpl:6
27 StreamGitItemNav(qw422016, name, ref, Summary)
28//line gititemsummary.qtpl:6
29}
30
31//line gititemsummary.qtpl:6
32func (g *GitItemSummaryPage) WriteNav(qq422016 qtio422016.Writer, name, ref string) {
33//line gititemsummary.qtpl:6
34 qw422016 := qt422016.AcquireWriter(qq422016)
35//line gititemsummary.qtpl:6
36 g.StreamNav(qw422016, name, ref)
37//line gititemsummary.qtpl:6
38 qt422016.ReleaseWriter(qw422016)
39//line gititemsummary.qtpl:6
40}
41
42//line gititemsummary.qtpl:6
43func (g *GitItemSummaryPage) Nav(name, ref string) string {
44//line gititemsummary.qtpl:6
45 qb422016 := qt422016.AcquireByteBuffer()
46//line gititemsummary.qtpl:6
47 g.WriteNav(qb422016, name, ref)
48//line gititemsummary.qtpl:6
49 qs422016 := string(qb422016.B)
50//line gititemsummary.qtpl:6
51 qt422016.ReleaseByteBuffer(qb422016)
52//line gititemsummary.qtpl:6
53 return qs422016
54//line gititemsummary.qtpl:6
55}
56
57//line gititemsummary.qtpl:8
58func (g *GitItemSummaryPage) StreamGitContent(qw422016 *qt422016.Writer, name, ref string) {
59//line gititemsummary.qtpl:8
60 qw422016.N().S(`
61<h4>Summary</h4>
62`)
63//line gititemsummary.qtpl:10
64}
65
66//line gititemsummary.qtpl:10
67func (g *GitItemSummaryPage) WriteGitContent(qq422016 qtio422016.Writer, name, ref string) {
68//line gititemsummary.qtpl:10
69 qw422016 := qt422016.AcquireWriter(qq422016)
70//line gititemsummary.qtpl:10
71 g.StreamGitContent(qw422016, name, ref)
72//line gititemsummary.qtpl:10
73 qt422016.ReleaseWriter(qw422016)
74//line gititemsummary.qtpl:10
75}
76
77//line gititemsummary.qtpl:10
78func (g *GitItemSummaryPage) GitContent(name, ref string) string {
79//line gititemsummary.qtpl:10
80 qb422016 := qt422016.AcquireByteBuffer()
81//line gititemsummary.qtpl:10
82 g.WriteGitContent(qb422016, name, ref)
83//line gititemsummary.qtpl:10
84 qs422016 := string(qb422016.B)
85//line gititemsummary.qtpl:10
86 qt422016.ReleaseByteBuffer(qb422016)
87//line gititemsummary.qtpl:10
88 return qs422016
89//line gititemsummary.qtpl:10
90}