File tree 1 file changed +1
-5
lines changed
1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change 51
51
<input type="hidden" name="type" value="{{$.ViewType}}">
52
52
<input type="hidden" name="sort" value="{{$.SortType}}">
53
53
<input type="hidden" name="state" value="{{$.State}}">
54
- {{if .PageIsPulls}}
55
- {{template "shared/search/combo_fuzzy" dict "Value" $.Keyword "IsFuzzy" $.IsFuzzy "Placeholder" (ctx.Locale.Tr "search.pull_kind") "Tooltip" (ctx.Locale.Tr "explorer.go")}}
56
- {{else}}
57
- {{template "shared/search/combo_fuzzy" dict "Value" $.Keyword "IsFuzzy" $.IsFuzzy "Placeholder" (ctx.Locale.Tr "search.issue_kind") "Tooltip" (ctx.Locale.Tr "explorer.go")}}
58
- {{end}}
54
+ {{template "shared/search/combo_fuzzy" dict "Value" $.Keyword "IsFuzzy" $.IsFuzzy "Placeholder" (ctx.Locale.Tr (Iif .PageIsPulls "search.pull_kind" "search.issue_kind")) "Tooltip" (ctx.Locale.Tr "explore.go_to")}}
59
55
</div>
60
56
</form>
61
57
<!-- Sort -->
You can’t perform that action at this time.
0 commit comments