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.
2023-03-29 08:41:45 -05:00
..
admin Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
base Fine tune more downdrop settings, use SVG for labels, improve Repo Topic Edit form (#23626) 2023-03-26 19:31:26 +08:00
code Use data-tooltip-content for tippy tooltip (#23649) 2023-03-24 18:35:38 +08:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
explore Add ONLY_SHOW_RELEVANT_REPOS back, fix explore page bug, make code more strict (#23766) 2023-03-29 08:41:45 -05:00
mail Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
org Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
package fix br display for packages curls (#23737) 2023-03-28 01:18:01 -04:00
projects Fix project card preview select and template select (#23684) 2023-03-27 13:15:41 +08:00
repo Implement Issue Config (#20956) 2023-03-28 14:22:07 -04:00
shared Use data-tooltip-content for tippy tooltip (#23649) 2023-03-24 18:35:38 +08:00
status Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
swagger Implement Issue Config (#20956) 2023-03-28 14:22:07 -04:00
user Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
home.tmpl Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
install.tmpl Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
post-install.tmpl Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00