From ca99653de73894957bdb230e7d305598ca0faf06 Mon Sep 17 00:00:00 2001 From: Patrick Fairbank Date: Sun, 23 Sep 2018 15:51:09 -0700 Subject: [PATCH] Add button to re-download team info from TBA and overwrite local edits. --- templates/setup_teams.html | 5 ++ web/setup_teams.go | 126 +++++++++++++++++++++---------------- web/setup_teams_test.go | 7 +++ web/web.go | 1 + 4 files changed, 85 insertions(+), 54 deletions(-) diff --git a/templates/setup_teams.html b/templates/setup_teams.html index 60c63ca..0b276d7 100644 --- a/templates/setup_teams.html +++ b/templates/setup_teams.html @@ -26,6 +26,11 @@
+ {{if .EventSettings.TBADownloadEnabled}} +
+ Refresh Team Data from TBA +
+ {{end}}