Skip to content

Commit e6cc824

Browse files
committed
Run "make fmt"
Signed-off-by: Yarden Shoham <[email protected]>
1 parent f40833d commit e6cc824

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

templates/code/searchform.tmpl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<form class="ui form ignore-dirty" style="max-width: 100%">
22
<div class="ui fluid action input">
3-
<input name="q" value="{{.Keyword}}"{{if .CodeIndexerUnavailable }} disabled{{end}} placeholder="{{.locale.Tr "explore.search"}}…" autofocus>
4-
<div class="ui dropdown selection tooltip{{if .CodeIndexerUnavailable }} disabled{{end}}" data-content="{{.locale.Tr "explore.search.type.tooltip"}}">
5-
<input name="t" type="hidden" value="{{.queryType}}"{{if .CodeIndexerUnavailable }} disabled{{end}}>{{svg "octicon-triangle-down" 14 "dropdown icon"}}
3+
<input name="q" value="{{.Keyword}}"{{if .CodeIndexerUnavailable}} disabled{{end}} placeholder="{{.locale.Tr "explore.search"}}…" autofocus>
4+
<div class="ui dropdown selection tooltip{{if .CodeIndexerUnavailable}} disabled{{end}}" data-content="{{.locale.Tr "explore.search.type.tooltip"}}">
5+
<input name="t" type="hidden" value="{{.queryType}}"{{if .CodeIndexerUnavailable}} disabled{{end}}>{{svg "octicon-triangle-down" 14 "dropdown icon"}}
66
<div class="text">{{.locale.Tr (printf "explore.search.%s" (or .queryType "fuzzy"))}}</div>
77
<div class="menu transition hidden" tabindex="-1" style="display: block !important;">
88
<div class="item tooltip" data-value="" data-content="{{.locale.Tr "explore.search.fuzzy.tooltip"}}">{{.locale.Tr "explore.search.fuzzy"}}</div>
99
<div class="item tooltip" data-value="match" data-content="{{.locale.Tr "explore.search.match.tooltip"}}">{{.locale.Tr "explore.search.match"}}</div>
1010
</div>
1111
</div>
12-
<button class="ui primary button"{{if .CodeIndexerUnavailable }} disabled{{end}}>{{.locale.Tr "explore.search"}}</button>
12+
<button class="ui primary button"{{if .CodeIndexerUnavailable}} disabled{{end}}>{{.locale.Tr "explore.search"}}</button>
1313
</div>
1414
</form>

templates/user/code.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
{{template "code/searchform" .}}
66
<div class="ui divider"></div>
77
<div class="ui user list">
8-
{{if .CodeIndexerUnavailable }}
8+
{{if .CodeIndexerUnavailable}}
99
<div class="ui error message">
1010
<p>{{$.locale.Tr "explore.code_search_unavailable"}}</p>
1111
</div>
1212
{{else if .SearchResults}}
1313
<h3>
14-
{{.locale.Tr "explore.code_search_results" (.Keyword|Escape) | Str2html }}
14+
{{.locale.Tr "explore.code_search_results" (.Keyword|Escape) | Str2html}}
1515
</h3>
1616
{{template "code/searchresults" .}}
1717
{{else if .Keyword}}

0 commit comments

Comments
 (0)