diff --git a/templates/announcer_display_score_posted.html b/templates/announcer_display_score_posted.html index 27a3608f..7775b96f 100644 --- a/templates/announcer_display_score_posted.html +++ b/templates/announcer_display_score_posted.html @@ -9,13 +9,15 @@
{{template "alliance_match_result" dict "summary" .RedScoreSummary "fouls" .RedFouls "cards" .RedCards - "rankings" .RedRankings "rulesViolated" .RulesViolated}} + "rankings" .RedRankings "rulesViolated" .RulesViolated "rankingPoints" .RedRankingPoints + "matchType" .Match.Type}}
{{template "alliance_match_result" dict "summary" .BlueScoreSummary "fouls" .BlueFouls "cards" .BlueCards - "rankings" .BlueRankings "rulesViolated" .RulesViolated}} + "rankings" .BlueRankings "rulesViolated" .RulesViolated "rankingPoints" .BlueRankingPoints + "matchType" .Match.Type}}
@@ -28,37 +30,45 @@ {{define "alliance_match_result"}}

Score

-
Auto Mobility Points
-
{{.summary.MobilityPoints}}
+
Auto Leave Points
+
{{.summary.LeavePoints}}
-
Grid Points
-
{{.summary.GridPoints}}
+
Speaker Points
+
{{.summary.SpeakerPoints}}
-
Charge Station Points
-
{{.summary.ChargeStationPoints}}
+
Amp Points
+
{{.summary.AmpPoints}}
-
Endgame Park Points
-
{{.summary.ParkPoints}}
+
Stage Points
+
{{.summary.StagePoints}}
Foul Points
{{.summary.FoulPoints}}
-
-
Sustainability Bonus RP
-
{{if .summary.SustainabilityBonusRankingPoint}}Yes{{else}}No{{end}}
-
-
-
Activation Bonus RP
-
{{if .summary.ActivationBonusRankingPoint}}Yes{{else}}No{{end}}
-
+{{if ne .matchType playoffMatch}} +
+
Melody Bonus RP
+
{{if .summary.MelodyBonusRankingPoint}}Yes{{else}}No{{end}}
+
+
+
Ensemble Bonus RP
+
{{if .summary.EnsembleBonusRankingPoint}}Yes{{else}}No{{end}}
+
+{{end}}
Final Score
{{.summary.Score}}
+{{if ne .matchType playoffMatch}} +
+
Ranking Points
+
{{.rankingPoints}}
+
+{{end}}

Fouls

{{range $foul := .fouls}}