Skip to content

Commit 4cb0076

Browse files
kerwin612GiteaBot
authored andcommitted
1 parent 6ca70c5 commit 4cb0076

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

templates/user/dashboard/issues.tmpl

+1-5
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,7 @@
5151
<input type="hidden" name="type" value="{{$.ViewType}}">
5252
<input type="hidden" name="sort" value="{{$.SortType}}">
5353
<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")}}
5955
</div>
6056
</form>
6157
<!-- Sort -->

0 commit comments

Comments
 (0)