README: admin per-user view uses this template; .profile-private out of scope

This commit is contained in:
leora 2026-10-15 20:33:26 +08:00
parent 4289b8ac35
commit 7dade62778

View File

@ -190,8 +190,9 @@ https://gitea.seamtro.ai/leora/gitea-selfhost. Run the kit tests (above) first.
`config/custom/templates/explore/repo_list.tmpl` (plus `repo_list_item.tmpl`, the shared row markup) `config/custom/templates/explore/repo_list.tmpl` (plus `repo_list_item.tmpl`, the shared row markup)
overrides Gitea 1.23.x's repo list so `.profile` contact-card repos (any case) render after the overrides Gitea 1.23.x's repo list so `.profile` contact-card repos (any case) render after the
other repos. The same list template is used by explore, user and org repo tabs, and the other repos. The same list template is used by explore, user and org repo tabs, and the
starred / watched views, so they all get this order; admin repo management uses its own template starred / watched views, and the admin per-user repo view, so they all get this order. The main
and is unchanged. admin repo management list uses its own template and is unchanged. Organisations' private profile
repos (`.profile-private`) are out of scope and are not moved.
To install, copy both files to `$GITEA_CUSTOM/templates/explore/` and restart Gitea. To install, copy both files to `$GITEA_CUSTOM/templates/explore/` and restart Gitea.