You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/templates
wxiaoguang e57e1144c5
Add ONLY_SHOW_RELEVANT_REPOS back, fix explore page bug, make code more strict (#23766)
Follow #21962

After I eat my own dogfood, I would say that
ONLY_SHOW_RELEVANT_REPOS=false is necessary for many private/enterprise
instances, because many private repositories do not have
"description/topic", users just want to search by their names.

This PR also adds `PageIsExploreRepositories` check, to make code more
strict, because the `search` template is shared for different purpose.

And during the test, I found a bug that the "Search" button didn't
respect the "relevant" parameter, so this PR fixes the bug by the way
together.

I think this PR needs to be backported.
1 year ago
..
admin Remove incorrect HTML self close tag (#23748) 1 year ago
api/packages/pypi Remove incorrect HTML self close tag (#23748) 1 year ago
base Fine tune more downdrop settings, use SVG for labels, improve Repo Topic Edit form (#23626) 1 year ago
code Use data-tooltip-content for tippy tooltip (#23649) 1 year ago
custom Add footer extra links template (#9576) 5 years ago
explore Add ONLY_SHOW_RELEVANT_REPOS back, fix explore page bug, make code more strict (#23766) 1 year ago
mail Remove incorrect HTML self close tag (#23748) 1 year ago
org Remove incorrect HTML self close tag (#23748) 1 year ago
package fix br display for packages curls (#23737) 1 year ago
projects Fix project card preview select and template select (#23684) 1 year ago
repo Implement Issue Config (#20956) 1 year ago
shared Use data-tooltip-content for tippy tooltip (#23649) 1 year ago
status Remove incorrect HTML self close tag (#23748) 1 year ago
swagger Implement Issue Config (#20956) 1 year ago
user Remove incorrect HTML self close tag (#23748) 1 year ago
home.tmpl Remove incorrect HTML self close tag (#23748) 1 year ago
install.tmpl Remove incorrect HTML self close tag (#23748) 1 year ago
post-install.tmpl Remove incorrect HTML self close tag (#23748) 1 year ago