mirror of
https://github.com/Team254/cheesy-arena-lite.git
synced 2026-03-10 06:06:47 -04:00
Hide 'Show Result' button on Match Play for matches that haven't yet been played.
This commit is contained in:
@@ -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}}
|
||||
|
||||
Reference in New Issue
Block a user