diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/commit.qtpl | 6 | ||||
| -rw-r--r-- | templates/commit.qtpl.go | 108 | ||||
| -rw-r--r-- | templates/gitlist.qtpl | 10 | ||||
| -rw-r--r-- | templates/gitlist.qtpl.go | 230 | 
4 files changed, 187 insertions, 167 deletions
diff --git a/templates/commit.qtpl b/templates/commit.qtpl index dc6eae4..ea2f144 100644 --- a/templates/commit.qtpl +++ b/templates/commit.qtpl @@ -1,10 +1,12 @@ +{% import "git.gabrielgio.me/cerrado/pkg/humanize" %}  {% import "github.com/go-git/go-git/v5/plumbing/object" %}  {% func Commit(name string, c *object.Commit, showTar bool) %}    <div class="row event">      <div class="row">        <div class="col-md"> -       <a title="{%s c.Hash.String() %}" href="/{%s name %}/commit/{%s c.Hash.String() %}/">{%s c.Hash.String()[0:8] %}</a> +       <a title="{%s c.Hash.String() %}" href="/{%s name %}/commit/{%s c.Hash.String() %}/">{%s c.Hash.String()[0:8] %}</a> — +       <a title="{%s c.Committer.Email %}" href="mailto:{%s c.Author.Email %}">{%s c.Author.Name %}</a>        </div>        {% if showTar %}        <div class="col-md text-md-center"> @@ -12,7 +14,7 @@        </div>        {% endif %}        <div class="col-md text-md-end"> -       <a title="{%s c.Committer.Email %}" href="mailto:{%s c.Author.Email %}">{%s c.Author.Name %}</a> +        <a title="{%s c.Author.When.Format("2006-01-02 15:04:05 UTC")%}">{%s humanize.Time(c.Author.When) %}</a>        </div>      </div>      <div class="code-view"> diff --git a/templates/commit.qtpl.go b/templates/commit.qtpl.go index ea8f020..eeaa1f0 100644 --- a/templates/commit.qtpl.go +++ b/templates/commit.qtpl.go @@ -5,121 +5,133 @@  package templates  //line templates/commit.qtpl:1 +import "git.gabrielgio.me/cerrado/pkg/humanize" + +//line templates/commit.qtpl:2  import "github.com/go-git/go-git/v5/plumbing/object" -//line templates/commit.qtpl:3 +//line templates/commit.qtpl:4  import (  	qtio422016 "io"  	qt422016 "github.com/valyala/quicktemplate"  ) -//line templates/commit.qtpl:3 +//line templates/commit.qtpl:4  var (  	_ = qtio422016.Copy  	_ = qt422016.AcquireByteBuffer  ) -//line templates/commit.qtpl:3 +//line templates/commit.qtpl:4  func StreamCommit(qw422016 *qt422016.Writer, name string, c *object.Commit, showTar bool) { -//line templates/commit.qtpl:3 +//line templates/commit.qtpl:4  	qw422016.N().S(`    <div class="row event">      <div class="row">        <div class="col-md">         <a title="`) -//line templates/commit.qtpl:7 +//line templates/commit.qtpl:8  	qw422016.E().S(c.Hash.String()) -//line templates/commit.qtpl:7 +//line templates/commit.qtpl:8  	qw422016.N().S(`" href="/`) -//line templates/commit.qtpl:7 +//line templates/commit.qtpl:8  	qw422016.E().S(name) -//line templates/commit.qtpl:7 +//line templates/commit.qtpl:8  	qw422016.N().S(`/commit/`) -//line templates/commit.qtpl:7 +//line templates/commit.qtpl:8  	qw422016.E().S(c.Hash.String()) -//line templates/commit.qtpl:7 +//line templates/commit.qtpl:8  	qw422016.N().S(`/">`) -//line templates/commit.qtpl:7 +//line templates/commit.qtpl:8  	qw422016.E().S(c.Hash.String()[0:8]) -//line templates/commit.qtpl:7 +//line templates/commit.qtpl:8 +	qw422016.N().S(`</a> — +       <a title="`) +//line templates/commit.qtpl:9 +	qw422016.E().S(c.Committer.Email) +//line templates/commit.qtpl:9 +	qw422016.N().S(`" href="mailto:`) +//line templates/commit.qtpl:9 +	qw422016.E().S(c.Author.Email) +//line templates/commit.qtpl:9 +	qw422016.N().S(`">`) +//line templates/commit.qtpl:9 +	qw422016.E().S(c.Author.Name) +//line templates/commit.qtpl:9  	qw422016.N().S(`</a>        </div>        `) -//line templates/commit.qtpl:9 +//line templates/commit.qtpl:11  	if showTar { -//line templates/commit.qtpl:9 +//line templates/commit.qtpl:11  		qw422016.N().S(`        <div class="col-md text-md-center">         <a title="tar.gz for `) -//line templates/commit.qtpl:11 +//line templates/commit.qtpl:13  		qw422016.E().S(c.Hash.String()) -//line templates/commit.qtpl:11 +//line templates/commit.qtpl:13  		qw422016.N().S(`" href="/`) -//line templates/commit.qtpl:11 +//line templates/commit.qtpl:13  		qw422016.E().S(name) -//line templates/commit.qtpl:11 +//line templates/commit.qtpl:13  		qw422016.N().S(`/archive/`) -//line templates/commit.qtpl:11 +//line templates/commit.qtpl:13  		qw422016.E().S(c.Hash.String()) -//line templates/commit.qtpl:11 +//line templates/commit.qtpl:13  		qw422016.N().S(`.tar.gz">tar.gz</a>        </div>        `) -//line templates/commit.qtpl:13 +//line templates/commit.qtpl:15  	} -//line templates/commit.qtpl:13 +//line templates/commit.qtpl:15  	qw422016.N().S(`        <div class="col-md text-md-end"> -       <a title="`) -//line templates/commit.qtpl:15 -	qw422016.E().S(c.Committer.Email) -//line templates/commit.qtpl:15 -	qw422016.N().S(`" href="mailto:`) -//line templates/commit.qtpl:15 -	qw422016.E().S(c.Author.Email) -//line templates/commit.qtpl:15 +        <a title="`) +//line templates/commit.qtpl:17 +	qw422016.E().S(c.Author.When.Format("2006-01-02 15:04:05 UTC")) +//line templates/commit.qtpl:17  	qw422016.N().S(`">`) -//line templates/commit.qtpl:15 -	qw422016.E().S(c.Author.Name) -//line templates/commit.qtpl:15 +//line templates/commit.qtpl:17 +	qw422016.E().S(humanize.Time(c.Author.When)) +//line templates/commit.qtpl:17  	qw422016.N().S(`</a>        </div>      </div>      <div class="code-view">       <pre>`) -//line templates/commit.qtpl:19 +//line templates/commit.qtpl:21  	qw422016.E().S(c.Message) -//line templates/commit.qtpl:19 +//line templates/commit.qtpl:21  	qw422016.N().S(`</pre>      </div>    </div>  `) -//line templates/commit.qtpl:22 +//line templates/commit.qtpl:24  } -//line templates/commit.qtpl:22 +//line templates/commit.qtpl:24  func WriteCommit(qq422016 qtio422016.Writer, name string, c *object.Commit, showTar bool) { -//line templates/commit.qtpl:22 +//line templates/commit.qtpl:24  	qw422016 := qt422016.AcquireWriter(qq422016) -//line templates/commit.qtpl:22 +//line templates/commit.qtpl:24  	StreamCommit(qw422016, name, c, showTar) -//line templates/commit.qtpl:22 +//line templates/commit.qtpl:24  	qt422016.ReleaseWriter(qw422016) -//line templates/commit.qtpl:22 +//line templates/commit.qtpl:24  } -//line templates/commit.qtpl:22 +//line templates/commit.qtpl:24  func Commit(name string, c *object.Commit, showTar bool) string { -//line templates/commit.qtpl:22 +//line templates/commit.qtpl:24  	qb422016 := qt422016.AcquireByteBuffer() -//line templates/commit.qtpl:22 +//line templates/commit.qtpl:24  	WriteCommit(qb422016, name, c, showTar) -//line templates/commit.qtpl:22 +//line templates/commit.qtpl:24  	qs422016 := string(qb422016.B) -//line templates/commit.qtpl:22 +//line templates/commit.qtpl:24  	qt422016.ReleaseByteBuffer(qb422016) -//line templates/commit.qtpl:22 +//line templates/commit.qtpl:24  	return qs422016 -//line templates/commit.qtpl:22 +//line templates/commit.qtpl:24  } diff --git a/templates/gitlist.qtpl b/templates/gitlist.qtpl index 4f25fc6..bb07e7f 100644 --- a/templates/gitlist.qtpl +++ b/templates/gitlist.qtpl @@ -1,3 +1,4 @@ +{% import "git.gabrielgio.me/cerrado/pkg/humanize" %}  {% import "git.gabrielgio.me/cerrado/pkg/service" %}  {% import "context" %}  {% import "strings" %} @@ -39,10 +40,11 @@ type GitListPage struct {          </div>          </hr>          <p>{%s r.Description %}</p> -        <p style="background: #dadada"> -            <a title="{%s r.LastCommit.Hash.String() %}" href="/{%s r.Name %}/commit/{%s r.LastCommit.Hash.String() %}/">{%s r.LastCommit.Hash.String()[0:8] %}</a> -  -            <a title="{%s r.LastCommit.Author.Email %}">{%s r.LastCommit.Author.Name %}</a> -  -            {%s firstLine(r.LastCommit.Message) %}</p> +        <div class="event-commit row"> +            <a class="col-xl-2" title="{%s r.LastCommit.Hash.String() %}" href="/{%s r.Name %}/commit/{%s r.LastCommit.Hash.String() %}/">{%s r.LastCommit.Hash.String()[0:8] %}</a> +            <a class="col-xl-7"> {%s firstLine(r.LastCommit.Message) %}</a> +            <a class="col-xl-3" title="{%s r.LastCommit.Author.When.Format("2006-01-02 15:04:05 UTC")%}">{%s humanize.Time(r.LastCommit.Author.When) %}</a> +        </div>          <p>            <a href="/{%s r.Name %}/log/{%s r.Ref %}/">log</a>            <a href="/{%s r.Name %}/tree/{%s r.Ref %}/">tree</a> diff --git a/templates/gitlist.qtpl.go b/templates/gitlist.qtpl.go index f3df84f..6fb168a 100644 --- a/templates/gitlist.qtpl.go +++ b/templates/gitlist.qtpl.go @@ -5,34 +5,37 @@  package templates  //line templates/gitlist.qtpl:1 -import "git.gabrielgio.me/cerrado/pkg/service" +import "git.gabrielgio.me/cerrado/pkg/humanize"  //line templates/gitlist.qtpl:2 -import "context" +import "git.gabrielgio.me/cerrado/pkg/service"  //line templates/gitlist.qtpl:3 +import "context" + +//line templates/gitlist.qtpl:4  import "strings" -//line templates/gitlist.qtpl:5 +//line templates/gitlist.qtpl:6  import (  	qtio422016 "io"  	qt422016 "github.com/valyala/quicktemplate"  ) -//line templates/gitlist.qtpl:5 +//line templates/gitlist.qtpl:6  var (  	_ = qtio422016.Copy  	_ = qt422016.AcquireByteBuffer  ) -//line templates/gitlist.qtpl:6 +//line templates/gitlist.qtpl:7  type GitListPage struct {  	Respositories []*service.Repository  	About         []byte  } -//line templates/gitlist.qtpl:13 +//line templates/gitlist.qtpl:14  func firstLine(text string) string {  	lines := strings.Split(text, "\n")  	if len(lines) > 0 { @@ -41,185 +44,186 @@ func firstLine(text string) string {  	return ""  } -//line templates/gitlist.qtpl:22 +//line templates/gitlist.qtpl:23  func (p *GitListPage) StreamTitle(qw422016 *qt422016.Writer, ctx context.Context) { -//line templates/gitlist.qtpl:22 +//line templates/gitlist.qtpl:23  	qw422016.N().S(`Git | List`) -//line templates/gitlist.qtpl:22 +//line templates/gitlist.qtpl:23  } -//line templates/gitlist.qtpl:22 +//line templates/gitlist.qtpl:23  func (p *GitListPage) WriteTitle(qq422016 qtio422016.Writer, ctx context.Context) { -//line templates/gitlist.qtpl:22 +//line templates/gitlist.qtpl:23  	qw422016 := qt422016.AcquireWriter(qq422016) -//line templates/gitlist.qtpl:22 +//line templates/gitlist.qtpl:23  	p.StreamTitle(qw422016, ctx) -//line templates/gitlist.qtpl:22 +//line templates/gitlist.qtpl:23  	qt422016.ReleaseWriter(qw422016) -//line templates/gitlist.qtpl:22 +//line templates/gitlist.qtpl:23  } -//line templates/gitlist.qtpl:22 +//line templates/gitlist.qtpl:23  func (p *GitListPage) Title(ctx context.Context) string { -//line templates/gitlist.qtpl:22 +//line templates/gitlist.qtpl:23  	qb422016 := qt422016.AcquireByteBuffer() -//line templates/gitlist.qtpl:22 +//line templates/gitlist.qtpl:23  	p.WriteTitle(qb422016, ctx) -//line templates/gitlist.qtpl:22 +//line templates/gitlist.qtpl:23  	qs422016 := string(qb422016.B) -//line templates/gitlist.qtpl:22 +//line templates/gitlist.qtpl:23  	qt422016.ReleaseByteBuffer(qb422016) -//line templates/gitlist.qtpl:22 +//line templates/gitlist.qtpl:23  	return qs422016 -//line templates/gitlist.qtpl:22 +//line templates/gitlist.qtpl:23  } -//line templates/gitlist.qtpl:24 +//line templates/gitlist.qtpl:25  func (p *GitListPage) StreamNavbar(qw422016 *qt422016.Writer, ctx context.Context) { -//line templates/gitlist.qtpl:24 +//line templates/gitlist.qtpl:25  	StreamNavbar(qw422016, ctx, Git) -//line templates/gitlist.qtpl:24 +//line templates/gitlist.qtpl:25  } -//line templates/gitlist.qtpl:24 +//line templates/gitlist.qtpl:25  func (p *GitListPage) WriteNavbar(qq422016 qtio422016.Writer, ctx context.Context) { -//line templates/gitlist.qtpl:24 +//line templates/gitlist.qtpl:25  	qw422016 := qt422016.AcquireWriter(qq422016) -//line templates/gitlist.qtpl:24 +//line templates/gitlist.qtpl:25  	p.StreamNavbar(qw422016, ctx) -//line templates/gitlist.qtpl:24 +//line templates/gitlist.qtpl:25  	qt422016.ReleaseWriter(qw422016) -//line templates/gitlist.qtpl:24 +//line templates/gitlist.qtpl:25  } -//line templates/gitlist.qtpl:24 +//line templates/gitlist.qtpl:25  func (p *GitListPage) Navbar(ctx context.Context) string { -//line templates/gitlist.qtpl:24 +//line templates/gitlist.qtpl:25  	qb422016 := qt422016.AcquireByteBuffer() -//line templates/gitlist.qtpl:24 +//line templates/gitlist.qtpl:25  	p.WriteNavbar(qb422016, ctx) -//line templates/gitlist.qtpl:24 +//line templates/gitlist.qtpl:25  	qs422016 := string(qb422016.B) -//line templates/gitlist.qtpl:24 +//line templates/gitlist.qtpl:25  	qt422016.ReleaseByteBuffer(qb422016) -//line templates/gitlist.qtpl:24 +//line templates/gitlist.qtpl:25  	return qs422016 -//line templates/gitlist.qtpl:24 +//line templates/gitlist.qtpl:25  } -//line templates/gitlist.qtpl:26 +//line templates/gitlist.qtpl:27  func (p *GitListPage) StreamContent(qw422016 *qt422016.Writer, ctx context.Context) { -//line templates/gitlist.qtpl:26 +//line templates/gitlist.qtpl:27  	qw422016.N().S(`  <div class="row">    <div class="col-md-6 order-last order-md-first">      <div class="event-list">        `) -//line templates/gitlist.qtpl:30 +//line templates/gitlist.qtpl:31  	for _, r := range p.Respositories { -//line templates/gitlist.qtpl:30 +//line templates/gitlist.qtpl:31  		qw422016.N().S(`        <div class="event">          <div class="row">            <div class="col-md">                <a href="/`) -//line templates/gitlist.qtpl:34 +//line templates/gitlist.qtpl:35  		qw422016.E().S(r.Name) -//line templates/gitlist.qtpl:34 +//line templates/gitlist.qtpl:35  		qw422016.N().S(`/">`) -//line templates/gitlist.qtpl:34 +//line templates/gitlist.qtpl:35  		qw422016.E().S(r.Name) -//line templates/gitlist.qtpl:34 +//line templates/gitlist.qtpl:35  		qw422016.N().S(`</a>            </div>            <div class="col-md text-md-end">              <small>`) -//line templates/gitlist.qtpl:37 +//line templates/gitlist.qtpl:38  		if !r.Public { -//line templates/gitlist.qtpl:37 +//line templates/gitlist.qtpl:38  			qw422016.N().S(`private`) -//line templates/gitlist.qtpl:37 +//line templates/gitlist.qtpl:38  		} -//line templates/gitlist.qtpl:37 +//line templates/gitlist.qtpl:38  		qw422016.N().S(`</small>            </div>          </div>          </hr>          <p>`) -//line templates/gitlist.qtpl:41 +//line templates/gitlist.qtpl:42  		qw422016.E().S(r.Description) -//line templates/gitlist.qtpl:41 +//line templates/gitlist.qtpl:42  		qw422016.N().S(`</p> -        <p style="background: #dadada"> -            <a title="`) -//line templates/gitlist.qtpl:43 +        <div class="event-commit row"> +            <a class="col-xl-2" title="`) +//line templates/gitlist.qtpl:44  		qw422016.E().S(r.LastCommit.Hash.String()) -//line templates/gitlist.qtpl:43 +//line templates/gitlist.qtpl:44  		qw422016.N().S(`" href="/`) -//line templates/gitlist.qtpl:43 +//line templates/gitlist.qtpl:44  		qw422016.E().S(r.Name) -//line templates/gitlist.qtpl:43 +//line templates/gitlist.qtpl:44  		qw422016.N().S(`/commit/`) -//line templates/gitlist.qtpl:43 -		qw422016.E().S(r.LastCommit.Hash.String()) -//line templates/gitlist.qtpl:43 -		qw422016.N().S(`/">`) -//line templates/gitlist.qtpl:43 -		qw422016.E().S(r.LastCommit.Hash.String()[0:8]) -//line templates/gitlist.qtpl:43 -		qw422016.N().S(`</a> -  -            <a title="`)  //line templates/gitlist.qtpl:44 -		qw422016.E().S(r.LastCommit.Author.Email) +		qw422016.E().S(r.LastCommit.Hash.String())  //line templates/gitlist.qtpl:44 -		qw422016.N().S(`">`) +		qw422016.N().S(`/">`)  //line templates/gitlist.qtpl:44 -		qw422016.E().S(r.LastCommit.Author.Name) +		qw422016.E().S(r.LastCommit.Hash.String()[0:8])  //line templates/gitlist.qtpl:44 -		qw422016.N().S(`</a> -  -            `) +		qw422016.N().S(`</a> +            <a class="col-xl-7"> `)  //line templates/gitlist.qtpl:45  		qw422016.E().S(firstLine(r.LastCommit.Message))  //line templates/gitlist.qtpl:45 -		qw422016.N().S(`</p> +		qw422016.N().S(`</a> +            <a class="col-xl-3" title="`) +//line templates/gitlist.qtpl:46 +		qw422016.E().S(r.LastCommit.Author.When.Format("2006-01-02 15:04:05 UTC")) +//line templates/gitlist.qtpl:46 +		qw422016.N().S(`">`) +//line templates/gitlist.qtpl:46 +		qw422016.E().S(humanize.Time(r.LastCommit.Author.When)) +//line templates/gitlist.qtpl:46 +		qw422016.N().S(`</a> +        </div>          <p>            <a href="/`) -//line templates/gitlist.qtpl:47 +//line templates/gitlist.qtpl:49  		qw422016.E().S(r.Name) -//line templates/gitlist.qtpl:47 +//line templates/gitlist.qtpl:49  		qw422016.N().S(`/log/`) -//line templates/gitlist.qtpl:47 +//line templates/gitlist.qtpl:49  		qw422016.E().S(r.Ref) -//line templates/gitlist.qtpl:47 +//line templates/gitlist.qtpl:49  		qw422016.N().S(`/">log</a>            <a href="/`) -//line templates/gitlist.qtpl:48 +//line templates/gitlist.qtpl:50  		qw422016.E().S(r.Name) -//line templates/gitlist.qtpl:48 +//line templates/gitlist.qtpl:50  		qw422016.N().S(`/tree/`) -//line templates/gitlist.qtpl:48 +//line templates/gitlist.qtpl:50  		qw422016.E().S(r.Ref) -//line templates/gitlist.qtpl:48 +//line templates/gitlist.qtpl:50  		qw422016.N().S(`/">tree</a>            <a href="/`) -//line templates/gitlist.qtpl:49 +//line templates/gitlist.qtpl:51  		qw422016.E().S(r.Name) -//line templates/gitlist.qtpl:49 +//line templates/gitlist.qtpl:51  		qw422016.N().S(`/refs/">refs</a>          </p>        </div>        `) -//line templates/gitlist.qtpl:52 +//line templates/gitlist.qtpl:54  	} -//line templates/gitlist.qtpl:52 +//line templates/gitlist.qtpl:54  	qw422016.N().S(`      </div>    </div>    <div id="about" class="col-md-4 order-first order-md-last">      `) -//line templates/gitlist.qtpl:56 +//line templates/gitlist.qtpl:58  	qw422016.N().Z(p.About) -//line templates/gitlist.qtpl:56 +//line templates/gitlist.qtpl:58  	qw422016.N().S(`      <div class="alert alert-warning text-center" role="alert">          This project is under development, things may be broken or incomplete. @@ -227,65 +231,65 @@ func (p *GitListPage) StreamContent(qw422016 *qt422016.Writer, ctx context.Conte    </div>  </div>  `) -//line templates/gitlist.qtpl:62 +//line templates/gitlist.qtpl:64  } -//line templates/gitlist.qtpl:62 +//line templates/gitlist.qtpl:64  func (p *GitListPage) WriteContent(qq422016 qtio422016.Writer, ctx context.Context) { -//line templates/gitlist.qtpl:62 +//line templates/gitlist.qtpl:64  	qw422016 := qt422016.AcquireWriter(qq422016) -//line templates/gitlist.qtpl:62 +//line templates/gitlist.qtpl:64  	p.StreamContent(qw422016, ctx) -//line templates/gitlist.qtpl:62 +//line templates/gitlist.qtpl:64  	qt422016.ReleaseWriter(qw422016) -//line templates/gitlist.qtpl:62 +//line templates/gitlist.qtpl:64  } -//line templates/gitlist.qtpl:62 +//line templates/gitlist.qtpl:64  func (p *GitListPage) Content(ctx context.Context) string { -//line templates/gitlist.qtpl:62 +//line templates/gitlist.qtpl:64  	qb422016 := qt422016.AcquireByteBuffer() -//line templates/gitlist.qtpl:62 +//line templates/gitlist.qtpl:64  	p.WriteContent(qb422016, ctx) -//line templates/gitlist.qtpl:62 +//line templates/gitlist.qtpl:64  	qs422016 := string(qb422016.B) -//line templates/gitlist.qtpl:62 +//line templates/gitlist.qtpl:64  	qt422016.ReleaseByteBuffer(qb422016) -//line templates/gitlist.qtpl:62 +//line templates/gitlist.qtpl:64  	return qs422016 -//line templates/gitlist.qtpl:62 +//line templates/gitlist.qtpl:64  } -//line templates/gitlist.qtpl:64 +//line templates/gitlist.qtpl:66  func (p *GitListPage) StreamScript(qw422016 *qt422016.Writer, ctx context.Context) { -//line templates/gitlist.qtpl:64 +//line templates/gitlist.qtpl:66  	qw422016.N().S(`  `) -//line templates/gitlist.qtpl:65 +//line templates/gitlist.qtpl:67  } -//line templates/gitlist.qtpl:65 +//line templates/gitlist.qtpl:67  func (p *GitListPage) WriteScript(qq422016 qtio422016.Writer, ctx context.Context) { -//line templates/gitlist.qtpl:65 +//line templates/gitlist.qtpl:67  	qw422016 := qt422016.AcquireWriter(qq422016) -//line templates/gitlist.qtpl:65 +//line templates/gitlist.qtpl:67  	p.StreamScript(qw422016, ctx) -//line templates/gitlist.qtpl:65 +//line templates/gitlist.qtpl:67  	qt422016.ReleaseWriter(qw422016) -//line templates/gitlist.qtpl:65 +//line templates/gitlist.qtpl:67  } -//line templates/gitlist.qtpl:65 +//line templates/gitlist.qtpl:67  func (p *GitListPage) Script(ctx context.Context) string { -//line templates/gitlist.qtpl:65 +//line templates/gitlist.qtpl:67  	qb422016 := qt422016.AcquireByteBuffer() -//line templates/gitlist.qtpl:65 +//line templates/gitlist.qtpl:67  	p.WriteScript(qb422016, ctx) -//line templates/gitlist.qtpl:65 +//line templates/gitlist.qtpl:67  	qs422016 := string(qb422016.B) -//line templates/gitlist.qtpl:65 +//line templates/gitlist.qtpl:67  	qt422016.ReleaseByteBuffer(qb422016) -//line templates/gitlist.qtpl:65 +//line templates/gitlist.qtpl:67  	return qs422016 -//line templates/gitlist.qtpl:65 +//line templates/gitlist.qtpl:67  }  | 
