diff options
author | KN4CK3R <admin@oldschoolhack.me> | 2021-12-03 04:33:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-03 11:33:34 +0800 |
commit | 6ceef876719c618e3f935337a70019040701076a (patch) | |
tree | 73b40653545c0e28305f47117f69fe016a1188f3 /templates/user/settings | |
parent | 03ec9e5060dd4874aec46ab1e0382b2bf7886f8f (diff) | |
download | gitea-6ceef876719c618e3f935337a70019040701076a.tar.gz gitea-6ceef876719c618e3f935337a70019040701076a.zip |
Removed SizeFmt. (#17890)
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'templates/user/settings')
-rw-r--r-- | templates/user/settings/repos.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/user/settings/repos.tmpl b/templates/user/settings/repos.tmpl index 74f2bc0574..0e19b6e3f2 100644 --- a/templates/user/settings/repos.tmpl +++ b/templates/user/settings/repos.tmpl @@ -27,7 +27,7 @@ <span class="icon">{{svg "octicon-repo"}}</span> {{end}} <a class="name" href="{{$repo.Link}}">{{$repo.OwnerName}}/{{$repo.Name}}</a> - <span>{{SizeFmt $repo.Size}}</span> + <span>{{FileSize $repo.Size}}</span> {{if $repo.IsFork}} {{$.i18n.Tr "repo.forked_from"}} <span><a href="{{$repo.BaseRepo.Link}}">{{$repo.BaseRepo.OwnerName}}/{{$repo.BaseRepo.Name}}</a></span> @@ -120,7 +120,7 @@ <span class="iconFloat">{{svg "octicon-repo"}}</span> {{end}} <a class="name" href="{{.Link}}">{{.OwnerName}}/{{.Name}}</a> - <span>{{SizeFmt .Size}}</span> + <span>{{FileSize .Size}}</span> {{if .IsFork}} {{$.i18n.Tr "repo.forked_from"}} <span><a href="{{.BaseRepo.Link}}">{{.BaseRepo.OwnerName}}/{{.BaseRepo.Name}}</a></span> |