diff options
author | Tyrone Yeh <tyrone_yeh@draytek.com> | 2022-09-26 18:15:12 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-26 18:15:12 +0800 |
commit | 2d94774c346d27e18a2992ebfe4cee92bfae72b3 (patch) | |
tree | 8f1d6ea87b0c0e8b80d28366709e63f7c24b84d0 | |
parent | ec0a06e52c67dd3aef25afd940d146c4bbae2020 (diff) | |
download | gitea-2d94774c346d27e18a2992ebfe4cee92bfae72b3.tar.gz gitea-2d94774c346d27e18a2992ebfe4cee92bfae72b3.zip |
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 <xiaolunwen@gmail.com>
-rw-r--r-- | templates/repo/issue/list.tmpl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/repo/issue/list.tmpl b/templates/repo/issue/list.tmpl index 5b25d664e6..60a3c0d361 100644 --- a/templates/repo/issue/list.tmpl +++ b/templates/repo/issue/list.tmpl @@ -82,6 +82,10 @@ {{svg "octicon-triangle-down" 14 "dropdown icon"}} </span> <div class="menu"> + <div class="ui icon search input"> + <i class="icon df ac jc">{{svg "octicon-search" 16}}</i> + <input type="text" placeholder="{{.i18n.Tr "repo.issues.filter_poster"}}"> + </div> <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> {{range .Posters}} <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}}"> |