mirror of
https://github.com/go-gitea/gitea
synced 2024-11-05 05:39:14 +01:00
597b04fe2f
Backport #27231 #27259 manually --------- Co-authored-by: delvh <dev.lh@web.de>
17 lines
511 B
Handlebars
17 lines
511 B
Handlebars
{{template "code/searchform" .}}
|
|
<div class="divider"></div>
|
|
<div class="ui user list">
|
|
{{if .CodeIndexerUnavailable}}
|
|
<div class="ui error message">
|
|
<p>{{ctx.Locale.Tr "explore.code_search_unavailable"}}</p>
|
|
</div>
|
|
{{else if .SearchResults}}
|
|
<h3>
|
|
{{ctx.Locale.Tr "explore.code_search_results" (.Keyword|Escape) | Str2html}}
|
|
</h3>
|
|
{{template "code/searchresults" .}}
|
|
{{else if .Keyword}}
|
|
<div>{{ctx.Locale.Tr "explore.code_no_results"}}</div>
|
|
{{end}}
|
|
</div>
|
|
{{template "base/paginate" .}}
|