From 877f8469844c8aa85bbc9db7e07977c40bcbf6bd Mon Sep 17 00:00:00 2001 From: Patrick Fairbank Date: Sat, 21 Mar 2020 14:52:49 -0700 Subject: [PATCH] Hide 'Show Result' button on Match Play for matches that haven't yet been played. --- templates/match_play.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/templates/match_play.html b/templates/match_play.html index 71276bb..d60f19d 100644 --- a/templates/match_play.html +++ b/templates/match_play.html @@ -40,9 +40,11 @@ Load - - Show Result - + {{if eq $match.Status "complete"}} + + Show Result + + {{end}} {{end}}