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

github html and css cleanup. wip

This commit is contained in:
EnesAlili 2016-09-05 12:57:45 +01:00
parent b652bc53f1
commit 781a31fc09
5 changed files with 88 additions and 75 deletions

View file

@ -27,10 +27,10 @@ const summaryTemplate = `
{{if .HasSharedLabels}}
<h3>Common Labels</h3>
<p>There
<p>There
{{if eq 1 (len .SharedLabels)}} is {{else}} are {{end}}
{{len .SharedLabels}}
shared
shared
{{if eq 1 (len .SharedLabels)}} label {{else}} labels {{end}}
across the repositories.</p>
<table style="width:100%;">
@ -38,7 +38,7 @@ const summaryTemplate = `
{{range $slabel := .SharedLabels}}
<tr>
<td style="width:100%;">
<span style="background-color:#{{$slabel.Color}}">{{$slabel.Name}} ({{$slabel.Count}})</span> in {{$slabel.Repos}}
<span class="github-issue-label" style="background-color:#{{$slabel.Color}}">{{$slabel.Name}} ({{$slabel.Count}})</span> in {{$slabel.Repos}}
</td>
</tr>
{{end}}