1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-08 23:15:29 +02:00

github copy tweaks

This commit is contained in:
Harvey Kandola 2016-07-02 17:08:54 -07:00
parent 9b4599889a
commit 61d5823711
2 changed files with 3 additions and 3 deletions

View file

@ -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 {

View file

@ -42,7 +42,7 @@ var renderTemplates = map[string]string{
<div class="section-github-render">
<p>
There are {{ .CommitCount }} commits for branch <a href="{{.Config.BranchURL}}">{{.Config.Branch}}</a> of repository <a href="{{ .Repo.URL }}">{{.Repo.Name}}.</a>
Up to {{ .Limit }} items are shown{{ .DateMessage }}.
Showing {{ .Limit }} items {{ .DateMessage }}.
</p>
<div class="github-board">
{{range $data := .BranchCommits}}