Explore: list .profile contact-card repos last #3

Merged
leora merged 4 commits from explore-profile-last into main 2026-10-15 12:33:27 +00:00
Showing only changes of commit 7dade62778 - Show all commits

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.