diff --git a/match.go b/match.go index c963258..a0a23fe 100644 --- a/match.go +++ b/match.go @@ -93,6 +93,8 @@ func (database *Database) GetMatchesByType(matchType string) ([]Match, error) { func (match *Match) CapitalizedType() string { if match.Type == "" { return "" + } else if match.Type == "elimination" { + return "Playoff" } return strings.ToUpper(match.Type[0:1]) + match.Type[1:] } diff --git a/setup_alliance_selection.go b/setup_alliance_selection.go index 64cc0ef..42b4970 100644 --- a/setup_alliance_selection.go +++ b/setup_alliance_selection.go @@ -141,7 +141,7 @@ func AllianceSelectionFinalizeHandler(w http.ResponseWriter, r *http.Request) { location, _ := time.LoadLocation("Local") startTime, err := time.ParseInLocation("2006-01-02 03:04:05 PM", r.PostFormValue("startTime"), location) if err != nil { - renderAllianceSelection(w, r, "Must specify a valid start time for the elimination rounds.") + renderAllianceSelection(w, r, "Must specify a valid start time for the playoff rounds.") return } diff --git a/templates/audience_display.html b/templates/audience_display.html index cdea0ac..12ea776 100644 --- a/templates/audience_display.html +++ b/templates/audience_display.html @@ -51,7 +51,7 @@
Are you sure you want to finalize the alliance selection process?