wxiaoguang 2023-10-24 10:00:06 +08:00 committed by GitHub
parent 6352114a77
commit def907de7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -6,8 +6,8 @@
{{template "shared/searchinput" dict "Value" .Keyword "AutoFocus" true}} {{template "shared/searchinput" dict "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}} {{else if .TabName}}
<input type="hidden" name="tab" value="repositories"> <input type="hidden" name="tab" value="{{.TabName}}">
{{end}} {{end}}
<button class="ui primary button">{{ctx.Locale.Tr "explore.search"}}</button> <button class="ui primary button">{{ctx.Locale.Tr "explore.search"}}</button>
</div> </div>