diff options
Diffstat (limited to 'backend')
| -rw-r--r-- | backend/admin/templates/games.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/backend/admin/templates/games.html b/backend/admin/templates/games.html index 0616938..6d6bd68 100644 --- a/backend/admin/templates/games.html +++ b/backend/admin/templates/games.html @@ -11,6 +11,13 @@ <a href="/iosdc-japan/2024/code-battle/admin/games/{{ .GameID }}"> {{ .DisplayName }} (id={{ .GameID }} type={{ .GameType }} state={{ .State }}) </a> + <ul> + {{ if and (ne .State "closed") (ne .State "finished") }} + <li> + <a href="/iosdc-japan/2024/code-battle/golf/{{ .GameID }}/watch">Watch</a> + </li> + {{ end }} + </ul> </li> {{ end }} </ul> |
