aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/admin/templates/users.html
diff options
context:
space:
mode:
Diffstat (limited to 'backend/admin/templates/users.html')
-rw-r--r--backend/admin/templates/users.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/admin/templates/users.html b/backend/admin/templates/users.html
index 3dc03c0..36fae0d 100644
--- a/backend/admin/templates/users.html
+++ b/backend/admin/templates/users.html
@@ -1,17 +1,17 @@
{{ template "base.html" . }}
{{ define "breadcrumb" }}
-<a href="/iosdc-japan/2024/code-battle/admin/dashboard">Dashboard</a>
+<a href="{{ .BasePath }}/admin/dashboard">Dashboard</a>
{{ end }}
{{ define "content" }}
<ul>
{{ range .Users }}
<li>
- <a href="/iosdc-japan/2024/code-battle/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="/iosdc-japan/2024/code-battle/admin/users/{{ .UserID }}/fetch-icon">
+ <form method="post" action="{{ $.BasePath }}/admin/users/{{ .UserID }}/fetch-icon">
<button type="submit">Fetch Icon</button>
</form>
</li>