forked from forgejo/forgejo
Rename ByteSize to ReadableSize
This commit is contained in:
parent
dae95f473e
commit
c2d137d1f2
4 changed files with 10 additions and 9 deletions
|
@ -14,7 +14,7 @@
|
|||
</a>
|
||||
{{end}}
|
||||
<span class="item not-mobile" {{if not (eq .Repository.Size 0)}}data-tooltip-content="{{.Repository.SizeDetailsString ctx.Locale}}"{{end}}>
|
||||
{{$fileSizeFields := ctx.Locale.TrSize .Repository.Size }}
|
||||
{{$fileSizeFields := ctx.Locale.TrSize .Repository.Size}}
|
||||
{{svg "octicon-database"}} <b>{{$fileSizeFields.PrettyNumber}}</b> {{$fileSizeFields.TranslatedUnit}}
|
||||
</span>
|
||||
{{end}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue