diff --git a/templates/bracket.svg b/templates/bracket.svg index b73a619..e4da2bf 100644 --- a/templates/bracket.svg +++ b/templates/bracket.svg @@ -461,7 +461,7 @@ {{end}} {{define "matchup"}} - + diff --git a/web/api.go b/web/api.go index 25f397b..051ef5e 100755 --- a/web/api.go +++ b/web/api.go @@ -46,6 +46,7 @@ type allianceMatchup struct { IsActive bool SeriesLeader string SeriesStatus string + IsComplete bool } // Generates a JSON dump of the matches and results. @@ -250,6 +251,7 @@ func (web *Web) generateBracketSvg(w io.Writer) error { DisplayName: matchup.LongDisplayName(), RedAllianceSource: matchup.RedAllianceSourceDisplayName(), BlueAllianceSource: matchup.BlueAllianceSourceDisplayName(), + IsComplete: matchup.IsComplete(), } if matchup.RedAllianceId > 0 { if len(alliances) > 0 {