diff --git a/core/section/github/commits_template.go b/core/section/github/commits_template.go index 701b8d85..9350f9c6 100644 --- a/core/section/github/commits_template.go +++ b/core/section/github/commits_template.go @@ -12,58 +12,69 @@ package github const commitsTemplate = ` -
- | Author | -Open Issues | -Closed Issues | -#commits | -Branches | -
---|
Contributor | +Assigned/Closed | +#Commits | +Branches | +||||||
---|---|---|---|---|---|---|---|---|---|
+ |
|
- {{$stats.Author}} | -{{$stats.OpenIssues}} | -{{$stats.ClosedIssues}} | -{{$stats.CommitCount}} | -+ | {{$stats.OpenIssues}} / {{$stats.ClosedIssues}} | +{{$stats.CommitCount}} | +
{{range $repo := $stats.Repos}}
{{$repo}} {{end}} |
- {{if $commit.ShowRepo}}{{$commit.Repo}}{{end}} - | -- {{if $commit.ShowBranch}}{{$commit.Branch}}{{end}} - | -- {{if $commit.ShowDate}}{{$commit.Date}}{{end}} - | -
- {{if $commit.ShowUser}}
- |
- - {{$commit.Message}} - | -
+ {{if $commit.ShowRepo}}{{$commit.Repo}}{{end}} + | ++ {{if $commit.ShowBranch}}{{$commit.Branch}}{{end}} + | ++ {{if $commit.ShowDate}}{{$commit.Date}}{{end}} + | +
+ {{if $commit.ShowUser}}
+ |
+ + {{$commit.Message}} + | +
{{if .ShowList}} @@ -36,9 +37,25 @@ const ( {{end}}
Repository | +Milestone | +Issues | +
---|---|---|
{{$data.Repo}} | +{{$data.Milestone}} | +
+
{{if $data.IsOpen}}
@@ -46,19 +63,23 @@ const (
{{else}}
` + closedIsvg + `
{{end}}
-
+
-
-
- {{$data.Repo}} - {{$data.Message}} :{{$data.Milestone}}: {{$data.Labels}}
+ {{$data.Message}} {{$data.Labels}}
|
+