From 0ac8ec2ab71cf2b7d5049a1e51478b2deeee673a Mon Sep 17 00:00:00 2001 From: Kerwin Bryant Date: Mon, 14 Apr 2025 05:41:01 +0000 Subject: [PATCH] Align the header layout of the User Details Page with the system's unified design specifications. --- templates/admin/user/view.tmpl | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/templates/admin/user/view.tmpl b/templates/admin/user/view.tmpl index 21943a8382dc3..31616ffbf969a 100644 --- a/templates/admin/user/view.tmpl +++ b/templates/admin/user/view.tmpl @@ -15,10 +15,7 @@

- {{ctx.Locale.Tr "admin.emails"}} -
- {{.EmailsTotal}} -
+ {{ctx.Locale.Tr "admin.emails"}} ({{ctx.Locale.Tr "admin.total" .EmailsTotal}})

{{template "admin/user/view_emails" .}} @@ -26,19 +23,13 @@

- {{ctx.Locale.Tr "admin.repositories"}} -
- {{.ReposTotal}} -
+ {{ctx.Locale.Tr "admin.repositories"}} ({{ctx.Locale.Tr "admin.total" .ReposTotal}})

{{template "explore/repo_list" .}}

- {{ctx.Locale.Tr "settings.organization"}} -
- {{.OrgsTotal}} -
+ {{ctx.Locale.Tr "settings.organization"}} ({{ctx.Locale.Tr "admin.total" .OrgsTotal}})

{{template "explore/user_list" .}}