1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-22 22:59:43 +02:00

Put in correct Github sub-section summary figures

This commit is contained in:
Elliott Stoneham 2016-09-05 10:56:05 +01:00
parent d50aa23f34
commit e737d278b9
6 changed files with 54 additions and 24 deletions

View file

@ -30,7 +30,10 @@ const (
<div class="section-github-render">
{{if .HasIssues}}
<h3>Issues</h3>
<p>There are {{.ClosedIssues}} closed and {{.OpenIssues}} open across 6 repositories.</p>
<p>
There are {{.ClosedIssues}} closed and {{.OpenIssues}} open across {{.RepoCount}}
{{if eq 1 .RepoCount}} repository. {{else}} repositories. {{end}}
</p>
<p>
{{if .ShowList}}
Including issues labelled