Skip to content

Commit

Permalink
Display total blob size of a package version. (#20927)
Browse files Browse the repository at this point in the history
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
  • Loading branch information
KN4CK3R and techknowlogick authored Aug 24, 2022
1 parent 103b94f commit 9e0c437
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/package/view.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 9e0c437

Please sign in to comment.