diff options
author | KN4CK3R <admin@oldschoolhack.me> | 2022-08-24 07:48:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-24 13:48:33 +0800 |
commit | 9e0c43777e724953433f2fc1356eb3802c4291b0 (patch) | |
tree | 622b3015211a291fce31642a4f0e9e73869d1b02 /templates | |
parent | 103b94f96ef07460165c104559c1311a259dac70 (diff) | |
download | gitea-9e0c43777e724953433f2fc1356eb3802c4291b0.tar.gz gitea-9e0c43777e724953433f2fc1356eb3802c4291b0.zip |
Display total blob size of a package version. (#20927)
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/package/view.tmpl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/package/view.tmpl b/templates/package/view.tmpl index 95d668a3fd..254d1ff840 100644 --- a/templates/package/view.tmpl +++ b/templates/package/view.tmpl @@ -52,6 +52,7 @@ {{template "package/metadata/pub" .}} {{template "package/metadata/pypi" .}} {{template "package/metadata/rubygems" .}} + <div class="item">{{svg "octicon-database" 16 "mr-3"}} {{FileSize .PackageDescriptor.CalculateBlobSize}}</div> </div> {{if not (eq .PackageDescriptor.Package.Type "container")}} <div class="ui divider"></div> |