mirror of
https://github.com/go-gitea/gitea
synced 2024-11-24 21:32:47 +01:00
Display total blob size of a package version. (#20927)
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
parent
103b94f96e
commit
9e0c43777e
1 changed files with 1 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue