{{if not $.CodeIndexerDisabled}} {{template "shared/search/combo_fuzzy" dict "Value" .Keyword "Disabled" .CodeIndexerUnavailable "IsFuzzy" .IsFuzzy "Placeholder" (ctx.Locale.Tr "search.code_kind")}} {{else}} {{template "shared/search/combo" dict "Value" .Keyword "Placeholder" (ctx.Locale.Tr "search.code_kind")}} {{end}}
{{if .CodeIndexerUnavailable}}

{{ctx.Locale.Tr "search.code_search_unavailable"}}

{{else}} {{if not .CodeIndexerEnabled}}

{{ctx.Locale.Tr "search.code_search_by_git_grep"}}

{{end}} {{if .SearchResults}} {{template "shared/search/code/results" .}} {{else if .Keyword}}
{{ctx.Locale.Tr "search.no_results"}}
{{end}} {{end}}