Fix repo search broken because of profile page added (#25455)
Fix #25433 Caused by #23260
This commit is contained in:
parent
375fd15fbf
commit
fab63cf565
1 changed files with 2 additions and 0 deletions
|
@ -28,6 +28,8 @@
|
||||||
{{template "shared/searchinput" dict "locale" .locale "Value" .Keyword "AutoFocus" true}}
|
{{template "shared/searchinput" dict "locale" .locale "Value" .Keyword "AutoFocus" true}}
|
||||||
{{if .PageIsExploreRepositories}}
|
{{if .PageIsExploreRepositories}}
|
||||||
<input type="hidden" name="only_show_relevant" value="{{.OnlyShowRelevant}}">
|
<input type="hidden" name="only_show_relevant" value="{{.OnlyShowRelevant}}">
|
||||||
|
{{else}}
|
||||||
|
<input type="hidden" name="tab" value="repositories">
|
||||||
{{end}}
|
{{end}}
|
||||||
<button class="ui primary button">{{.locale.Tr "explore.search"}}</button>
|
<button class="ui primary button">{{.locale.Tr "explore.search"}}</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue