mirror of
https://github.com/go-gitea/gitea
synced 2024-11-09 19:54:25 +00:00
d2f6588b66
Follow #29165 * some of them are incorrect, which would lead to double escaping (eg: `(print (Escape $.RepoLink)`) * other of them are not necessary, because `Tr` handles strings&HTML automatically Suggest to review by "unified view": https://github.com/go-gitea/gitea/pull/29394/files?diff=unified&w=0
18 lines
491 B
Handlebars
18 lines
491 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}}
|
|
</h3>
|
|
{{template "code/searchresults" .}}
|
|
{{else if .Keyword}}
|
|
<div>{{ctx.Locale.Tr "explore.code_no_results"}}</div>
|
|
{{end}}
|
|
</div>
|
|
{{template "base/paginate" .}}
|