Fix admin/config page (#12979)

Change `.LFS.ContentPath` to `.LFS.Path`

Fix #12975

Signed-off-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
zeripath 2020-09-29 20:26:45 +01:00 committed by GitHub
parent 3878e985b6
commit 1267e678fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -105,7 +105,7 @@
<dd><i class="fa fa{{if .LFS.StartServer}}-check{{end}}-square-o"></i></dd> <dd><i class="fa fa{{if .LFS.StartServer}}-check{{end}}-square-o"></i></dd>
{{if .LFS.StartServer}} {{if .LFS.StartServer}}
<dt>{{.i18n.Tr "admin.config.lfs_content_path"}}</dt> <dt>{{.i18n.Tr "admin.config.lfs_content_path"}}</dt>
<dd>{{.LFS.ContentPath}}</dd> <dd>{{.LFS.Path}}</dd>
<dt>{{.i18n.Tr "admin.config.lfs_http_auth_expiry"}}</dt> <dt>{{.i18n.Tr "admin.config.lfs_http_auth_expiry"}}</dt>
<dd>{{.LFS.HTTPAuthExpiry}}</dd> <dd>{{.LFS.HTTPAuthExpiry}}</dd>
{{end}} {{end}}