aboutsummaryrefslogtreecommitdiffstats
path: root/templates/admin
diff options
context:
space:
mode:
authorGiteabot <teabot@gitea.io>2023-07-19 05:48:54 -0400
committerGitHub <noreply@github.com>2023-07-19 09:48:54 +0000
commitee47face12917555245fd84efc303702f45ebba9 (patch)
treed106bab070e38b638cd6a2262b6fe662b861acda /templates/admin
parent864bdd0ac8a597eaed5c59b31979a160b776ee2b (diff)
downloadgitea-ee47face12917555245fd84efc303702f45ebba9.tar.gz
gitea-ee47face12917555245fd84efc303702f45ebba9.zip
Update path related documents (#25417) (#25982)
Backport #25417 by @wxiaoguang 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: wxiaoguang <wxiaoguang@gmail.com>
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 17fb2444d3..6c21c646bf 100644
--- a/templates/admin/config.tmpl
+++ b/templates/admin/config.tmpl
@@ -34,10 +34,10 @@
<div class="ui 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>