diff options
Diffstat (limited to 'backend/admin/templates')
| -rw-r--r-- | backend/admin/templates/games.html | 6 | ||||
| -rw-r--r-- | backend/admin/templates/users.html | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/backend/admin/templates/games.html b/backend/admin/templates/games.html index 402c702..d642f07 100644 --- a/backend/admin/templates/games.html +++ b/backend/admin/templates/games.html @@ -11,15 +11,15 @@ <ul> {{ range .Games }} <li> - <a href="{{ $.BasePath }}/admin/games/{{ .GameID }}"> + <a href="{{ $.BasePath }}admin/games/{{ .GameID }}"> {{ .DisplayName }} (id={{ .GameID }} type={{ .GameType }} {{ if not .IsPublic }}private{{ end }}) </a> <ul> {{ if .IsPublic }} - <li><a href="{{ $.BasePath }}/golf/{{ .GameID }}/play">Play</a></li> + <li><a href="{{ $.BasePath }}golf/{{ .GameID }}/play">Play</a></li> {{ end }} {{ if .IsPublic }} - <li><a href="{{ $.BasePath }}/golf/{{ .GameID }}/watch">Watch</a></li> + <li><a href="{{ $.BasePath }}golf/{{ .GameID }}/watch">Watch</a></li> {{ end }} </ul> </li> diff --git a/backend/admin/templates/users.html b/backend/admin/templates/users.html index 4b8e6dc..39ec589 100644 --- a/backend/admin/templates/users.html +++ b/backend/admin/templates/users.html @@ -8,10 +8,10 @@ <ul> {{ range .Users }} <li> - <a href="{{ $.BasePath }}/admin/users/{{ .UserID }}"> + <a href="{{ $.BasePath }}admin/users/{{ .UserID }}"> {{ .DisplayName }} (id={{ .UserID }} username={{ .Username }}){{ if .IsAdmin }} <em>admin</em>{{ end }} </a> - <form method="post" action="{{ $.BasePath }}/admin/users/{{ .UserID }}/fetch-icon"> + <form method="post" action="{{ $.BasePath }}admin/users/{{ .UserID }}/fetch-icon"> <button type="submit">Fetch Icon</button> </form> </li> |
