mirror of
https://github.com/go-gitea/gitea.git
synced 2026-07-31 11:55:13 +02:00
Update templates/repo/settings/options.tmpl
Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
co-authored by
silverwind
parent
cfd013f6ea
commit
aec62fa474
@@ -15,11 +15,9 @@
|
||||
<div class="inline field">
|
||||
<label>{{ctx.locale.Tr "repo.repo_size"}}</label>
|
||||
<span {{if .Err_RepoSize}}class="ui text red"{{end}} {{if not (eq .Repository.Size 0)}} data-tooltip-content="{{.Repository.SizeDetailsString}}"{{end}}>{{FileSize .Repository.Size}}
|
||||
{{if .ActualSizeLimit}}
|
||||
{{if .EnableSizeLimit}}
|
||||
{{if and .ActualSizeLimit .EnableSizeLimit}}
|
||||
/{{FileSize .ActualSizeLimit}}
|
||||
{{end}}
|
||||
{{end}}
|
||||
</span>
|
||||
</div>
|
||||
<div class="field {{if .Err_RepoSizeLimit}}error{{end}}" {{if not .IsAdmin}}style="display:none;"{{end}}>
|
||||
|
||||
Reference in New Issue
Block a user