mirror of https://github.com/go-gitea/gitea
Git with a cup of tea, painless self-hosted git service
Mirror for internal git.with.parts use
https://git.with.parts
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
564 B
16 lines
564 B
8 months ago
|
<form class="ui form ignore-dirty">
|
||
|
{{template "shared/search/combo_fuzzy" dict "Value" .Keyword "Disabled" .CodeIndexerUnavailable "IsFuzzy" .IsFuzzy "Placeholder" (ctx.Locale.Tr "search.code_kind")}}
|
||
|
</form>
|
||
|
<div class="divider"></div>
|
||
|
<div class="ui user list">
|
||
|
{{if .CodeIndexerUnavailable}}
|
||
|
<div class="ui error message">
|
||
|
<p>{{ctx.Locale.Tr "search.code_search_unavailable"}}</p>
|
||
|
</div>
|
||
|
{{else if .SearchResults}}
|
||
|
{{template "shared/search/code/results" .}}
|
||
|
{{else if .Keyword}}
|
||
|
<div>{{ctx.Locale.Tr "search.no_results"}}</div>
|
||
|
{{end}}
|
||
|
</div>
|