Hide 'Show Result' button on Match Play for matches that haven't yet been played.

This commit is contained in:
Patrick Fairbank
2020-03-21 14:52:49 -07:00
parent ab2fa93b2f
commit 877f846984

View File

@@ -40,9 +40,11 @@
<a href="/match_play/{{$match.Id}}/load">
<b class="btn btn-info btn-xs">Load</b>
</a>
<a href="/match_play/{{$match.Id}}/show_result">
<b class="btn btn-info btn-xs">Show Result</b>
</a>
{{if eq $match.Status "complete"}}
<a href="/match_play/{{$match.Id}}/show_result">
<b class="btn btn-info btn-xs">Show Result</b>
</a>
{{end}}
</td>
</tr>
{{end}}