Skip to content

Commit 2d94774

Browse files
tyroneyehlunny
andauthored
Add author search input (#21246)
New author filter in #20578 missing author search input #20623 lost author, so add this Co-authored-by: Lunny Xiao <[email protected]>
1 parent ec0a06e commit 2d94774

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

templates/repo/issue/list.tmpl

+4
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@
8282
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
8383
</span>
8484
<div class="menu">
85+
<div class="ui icon search input">
86+
<i class="icon df ac jc">{{svg "octicon-search" 16}}</i>
87+
<input type="text" placeholder="{{.i18n.Tr "repo.issues.filter_poster"}}">
88+
</div>
8589
<a class="item" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{.SelectLabels}}&milestone={{$.MilestoneID}}&assignee={{$.AssigneeID}}">{{.locale.Tr "repo.issues.filter_poster_no_select"}}</a>
8690
{{range .Posters}}
8791
<a class="{{if eq $.PosterID .ID}}active selected{{end}} item" href="{{$.Link}}?type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{$.SelectLabels}}&milestone={{$.MilestoneID}}&assignee={{$.AssigneeID}}&poster={{.ID}}">

0 commit comments

Comments
 (0)