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