Update templates/repo/settings/options.tmpl

Signed-off-by: silverwind <me@silverwind.io>
This commit is contained in:
silverwind
2025-12-18 20:51:55 +01:00
committed by GitHub
parent 4c5967c352
commit 521d277e41
+1 -1
View File
@@ -28,7 +28,7 @@
{{end}}
</span>
</div>
<div class="field {{if .Err_RepoSizeLimit}}error{{end}}" {{if not .IsAdmin}}style="display:none;"{{end}}>
<div class="field {{if .Err_RepoSizeLimit}}error{{end}} {{if not .IsAdmin}}tw-hidden{{end}}">
<label for="repo_size_limit">{{ctx.Locale.Tr "repo.repo_size_limit"}}</label>
<input id="repo_size_limit" name="repo_size_limit"
{{if and (eq .RepoSizeLimit -1) (eq .LFSSizeLimit -1)}}class="ui text light grey"{{end}}