Skip to content

Commit

Permalink
Display total blob size of a package version. (go-gitea#20927)
Browse files Browse the repository at this point in the history
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
  • Loading branch information
2 people authored and Sysoev, Vladimir committed Aug 28, 2022
1 parent 1b38747 commit 9d4e42b
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 9d4e42b

Please sign in to comment.