mirror of
https://github.com/go-gitea/gitea
synced 2025-08-12 20:48:20 +00:00
Removed SizeFmt. (#17890)
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
</div>
|
||||
<div class="inline field">
|
||||
<label>{{.i18n.Tr "repo.repo_size"}}</label>
|
||||
<span>{{SizeFmt .Repository.Size}}</span>
|
||||
<span>{{FileSize .Repository.Size}}</span>
|
||||
</div>
|
||||
<div class="inline field">
|
||||
<label>{{.i18n.Tr "repo.template"}}</label>
|
||||
|
@@ -14,7 +14,7 @@
|
||||
</div>
|
||||
{{end}}
|
||||
<div class="item">
|
||||
<span class="ui">{{svg "octicon-database"}} <b>{{SizeFmt .Repository.Size}}</b></span>
|
||||
<span class="ui">{{svg "octicon-database"}} <b>{{FileSize .Repository.Size}}</b></span>
|
||||
</div>
|
||||
{{end}}
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user