{{if .SearchResults}}
{{template "base/paginate" .}}
{{.i18n.Tr "explore.code_search_results" (.Keyword|Escape) | Str2html }}
{{range $term := .SearchResultLanguages}}
{{$term.Language}}
{{$term.Count}}
{{end}}
{{range $result := .SearchResults}}
{{$repo := (index $.RepoMaps .RepoID)}}
{{end}}
{{else}}
{{$repo.FullName}} - {{.Filename}} {{$.i18n.Tr "repo.diff.view_file"}}
{{range .LineNumbers}} {{.}} {{end}} |
|
{{if $result.Language}}
{{$result.Language}}
{{end}}
{{if not $result.UpdatedUnix.IsZero}}
{{$.i18n.Tr "explore.code_last_indexed_at" (TimeSinceUnix $result.UpdatedUnix $.i18n.Lang) | Safe}}
{{end}}
{{$.i18n.Tr "explore.code_no_results"}}
{{end}}