aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2023-01-18 23:52:04 +0800
committerGitHub <noreply@github.com>2023-01-18 09:52:04 -0600
commitf59ce777728cf84ccdf711491772104a0fc0dd6e (patch)
treeb77b85f70a9b53decf87db3b7414736fd49b0234 /templates
parent7ddc11def7e524df194cd67a93cf83cf733b1b79 (diff)
downloadgitea-f59ce777728cf84ccdf711491772104a0fc0dd6e.tar.gz
gitea-f59ce777728cf84ccdf711491772104a0fc0dd6e.zip
Display unreferenced packages total size in package admin panel (#22498)
Diffstat (limited to 'templates')
-rw-r--r--templates/admin/packages/list.tmpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/admin/packages/list.tmpl b/templates/admin/packages/list.tmpl
index c39f5fc128..4c96d2bf10 100644
--- a/templates/admin/packages/list.tmpl
+++ b/templates/admin/packages/list.tmpl
@@ -4,7 +4,9 @@
<div class="ui container">
{{template "base/alert" .}}
<h4 class="ui top attached header">
- {{.locale.Tr "admin.packages.package_manage_panel"}} ({{.locale.Tr "admin.total" .Total}}, {{.locale.Tr "admin.packages.total_size" (FileSize .TotalBlobSize)}})
+ {{.locale.Tr "admin.packages.package_manage_panel"}} ({{.locale.Tr "admin.total" .TotalCount}},
+ {{.locale.Tr "admin.packages.total_size" (FileSize .TotalBlobSize)}},
+ {{.locale.Tr "admin.packages.unreferenced_size" (FileSize .TotalUnreferencedBlobSize)}})
</h4>
<div class="ui attached segment">
<form class="ui form ignore-dirty">