Update templates/repo/settings/options.tmpl

Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
Dmitry Frolov
2023-11-07 13:45:15 +00:00
committed by GitHub
co-authored by silverwind
parent cfd013f6ea
commit aec62fa474
+1 -3
View File
@@ -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}}>