1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-21 22:29:41 +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

@ -27,7 +27,12 @@ const summaryTemplate = `
{{if .HasSharedLabels}}
<h3>Common Labels</h3>
<p>There is 1 shared label across the repositories.</p>
<p>There
{{if eq 1 (len .SharedLabels)}} is {{else}} are {{end}}
{{len .SharedLabels}}
shared
{{if eq 1 (len .SharedLabels)}} label {{else}} labels {{end}}
across the repositories.</p>
<table style="width:100%;">
<tbody class="github">
{{range $slabel := .SharedLabels}}