aboutsummaryrefslogtreecommitdiffstats
path: root/templates/shared
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2024-10-10 12:56:49 +0800
committerGitHub <noreply@github.com>2024-10-10 04:56:49 +0000
commitc2217670dd7514e17fc9c1f17d7e459b842ea798 (patch)
tree01042a8c4ff3d5352cb028b70b78eddf4f0d7814 /templates/shared
parentdd83cfcacc989d0e7cbd21ec5eba029fdfcb72dd (diff)
downloadgitea-c2217670dd7514e17fc9c1f17d7e459b842ea798.tar.gz
gitea-c2217670dd7514e17fc9c1f17d7e459b842ea798.zip
Move admin routers from /admin to /-/admin (#32189)
Resolve #32181 --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'templates/shared')
-rw-r--r--templates/shared/user/profile_big_avatar.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/shared/user/profile_big_avatar.tmpl b/templates/shared/user/profile_big_avatar.tmpl
index 1069209495..50d707176d 100644
--- a/templates/shared/user/profile_big_avatar.tmpl
+++ b/templates/shared/user/profile_big_avatar.tmpl
@@ -14,7 +14,7 @@
<div class="content tw-break-anywhere profile-avatar-name">
{{if .ContextUser.FullName}}<span class="header text center">{{.ContextUser.FullName}}</span>{{end}}
<span class="username text center">{{.ContextUser.Name}} {{if .IsAdmin}}
- <a class="muted" href="{{AppSubUrl}}/admin/users/{{.ContextUser.ID}}" data-tooltip-content="{{ctx.Locale.Tr "admin.users.details"}}">
+ <a class="muted" href="{{AppSubUrl}}/-/admin/users/{{.ContextUser.ID}}" data-tooltip-content="{{ctx.Locale.Tr "admin.users.details"}}">
{{svg "octicon-gear" 18}}
</a>
{{end}}</span>