mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-27 09:11:53 -05:00
18 lines
504 B
Go HTML Template
18 lines
504 B
Go HTML Template
|
{{template "code/searchform" .}}
|
||
|
<div class="divider"></div>
|
||
|
<div class="ui user list">
|
||
|
{{if .CodeIndexerUnavailable}}
|
||
|
<div class="ui error message">
|
||
|
<p>{{$.locale.Tr "explore.code_search_unavailable"}}</p>
|
||
|
</div>
|
||
|
{{else if .SearchResults}}
|
||
|
<h3>
|
||
|
{{.locale.Tr "explore.code_search_results" (.Keyword|Escape) | Str2html}}
|
||
|
</h3>
|
||
|
{{template "code/searchresults" .}}
|
||
|
{{else if .Keyword}}
|
||
|
<div>{{$.locale.Tr "explore.code_no_results"}}</div>
|
||
|
{{end}}
|
||
|
</div>
|
||
|
{{template "base/paginate" .}}
|