summaryrefslogtreecommitdiffstats
path: root/templates/admin
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-07-19 17:22:57 +0800
committerGitHub <noreply@github.com>2023-07-19 11:22:57 +0200
commit50e14699d3951ece4b9eb3f72cb266056e799f63 (patch)
tree28422db0087248b2144d7e137de2c46957107388 /templates/admin
parent06df92b5af1afaedf3883c6aaf2ce9d219cbd089 (diff)
downloadgitea-50e14699d3951ece4b9eb3f72cb266056e799f63.tar.gz
gitea-50e14699d3951ece4b9eb3f72cb266056e799f63.zip
Update path related documents (#25417)
Update WorkPath/WORK_PATH related documents, remove out-dated information. Remove "StaticRootPath" on the admin config display page, because few end user really need it, it only causes misconfiguration. ![image](https://github.com/go-gitea/gitea/assets/2114189/8095afa4-da76-436b-9e89-2a92c229c01d) Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'templates/admin')
-rw-r--r--templates/admin/config.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/admin/config.tmpl b/templates/admin/config.tmpl
index c51f9cb0bf..36d9bcb8a5 100644
--- a/templates/admin/config.tmpl
+++ b/templates/admin/config.tmpl
@@ -34,10 +34,10 @@
<div class="divider"></div>
+ <dt>{{.locale.Tr "admin.config.app_data_path"}}</dt>
+ <dd>{{.AppDataPath}}</dd>
<dt>{{.locale.Tr "admin.config.repo_root_path"}}</dt>
<dd>{{.RepoRootPath}}</dd>
- <dt>{{.locale.Tr "admin.config.static_file_root_path"}}</dt>
- <dd>{{.StaticRootPath}}</dd>
<dt>{{.locale.Tr "admin.config.custom_file_root_path"}}</dt>
<dd>{{.CustomRootPath}}</dd>
<dt>{{.locale.Tr "admin.config.log_file_root_path"}}</dt>