Skip to content

Commit 4c5967c

Browse files
authored
Update templates/repo/settings/options.tmpl
Signed-off-by: silverwind <me@silverwind.io>
1 parent 243c16d commit 4c5967c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/settings/options.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
type="text" value="{{if .RepoSizeLimitText}}{{.RepoSizeLimitText}}{{else if .Repository.SizeLimit}}{{FileSize .Repository.SizeLimit}}{{end}}"
3636
data-tooltip-content='{{ctx.Locale.Tr "repo.repo_size_limit_helper"}}'>
3737
</div>
38-
<div class="field {{if .Err_LFSSizeLimit}}error{{end}}" {{if not .IsAdmin}}style="display:none;"{{end}}>
38+
<div class="field {{if .Err_LFSSizeLimit}}error{{end}} {{if not .IsAdmin}}tw-hidden{{end}}">
3939
<label for="lfs_size_limit">{{ctx.Locale.Tr "repo.lfs_size_limit"}}</label>
4040
<input id="lfs_size_limit" name="lfs_size_limit"
4141
{{if and (eq .RepoSizeLimit -1) (eq .LFSSizeLimit -1)}}class="ui text light grey"{{end}}

0 commit comments

Comments
 (0)