diff options
author | Giteabot <teabot@gitea.io> | 2023-07-19 05:48:54 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-19 09:48:54 +0000 |
commit | ee47face12917555245fd84efc303702f45ebba9 (patch) | |
tree | d106bab070e38b638cd6a2262b6fe662b861acda /templates/admin | |
parent | 864bdd0ac8a597eaed5c59b31979a160b776ee2b (diff) | |
download | gitea-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.

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'templates/admin')
-rw-r--r-- | templates/admin/config.tmpl | 4 |
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> |