From 42935908b2fee34db747169d5d6521685fd260d8 Mon Sep 17 00:00:00 2001 From: Patrick Fairbank Date: Tue, 24 Oct 2017 19:38:01 -0700 Subject: [PATCH] Add button to force publishing of alliances to TBA. --- templates/setup_alliance_selection.html | 27 +++++++++++++++ web/setup_alliance_selection.go | 44 +++++++++++++++++++------ web/setup_alliance_selection_test.go | 19 ++++++++--- web/web.go | 1 + 4 files changed, 77 insertions(+), 14 deletions(-) diff --git a/templates/setup_alliance_selection.html b/templates/setup_alliance_selection.html index 666285f..aa0327e 100644 --- a/templates/setup_alliance_selection.html +++ b/templates/setup_alliance_selection.html @@ -39,6 +39,13 @@ Finalize Alliance Selection + {{if .EventSettings.TbaPublishingEnabled}} +
+ +
+ {{end}}
@@ -149,6 +156,26 @@ + {{end}} {{define "script"}}