From 61d58237110be39e8e65ddd705179481950ad584 Mon Sep 17 00:00:00 2001 From: Harvey Kandola Date: Sat, 2 Jul 2016 17:08:54 -0700 Subject: [PATCH] github copy tweaks --- documize/section/github/github.go | 4 ++-- documize/section/github/model.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/documize/section/github/github.go b/documize/section/github/github.go index 03d8d73f..b0b350d1 100644 --- a/documize/section/github/github.go +++ b/documize/section/github/github.go @@ -40,7 +40,7 @@ func init() { meta.ID = "38c0e4c5-291c-415e-8a4d-262ee80ba5df" meta.Title = "GitHub" - meta.Description = "Code commits and branches" + meta.Description = "Link code commits and issues" meta.ContentType = "github" meta.Callback = Callback } @@ -652,7 +652,7 @@ func (p *Provider) Render(config, data string) string { payload.Repo = c.RepoInfo payload.Limit = c.BranchLines if len(c.BranchSince) > 0 { - payload.DateMessage = ", created after " + c.BranchSince + payload.DateMessage = "created after " + c.BranchSince } switch c.ReportInfo.ID { diff --git a/documize/section/github/model.go b/documize/section/github/model.go index e060d96f..8d345ce7 100644 --- a/documize/section/github/model.go +++ b/documize/section/github/model.go @@ -42,7 +42,7 @@ var renderTemplates = map[string]string{

There are {{ .CommitCount }} commits for branch {{.Config.Branch}} of repository {{.Repo.Name}}. - Up to {{ .Limit }} items are shown{{ .DateMessage }}. + Showing {{ .Limit }} items {{ .DateMessage }}.

{{range $data := .BranchCommits}}