mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-22 14:26:02 +01:00
23471e1333
1. add backend support for filtering "poster" and "assignee" * due to the limits, there is no frontend support at the moment 2. rewrite TS code without jquery, now there are 14 jQuery files left:
19 lines
958 B
Handlebars
19 lines
958 B
Handlebars
<form class="list-header-search ui form ignore-dirty issue-list-search">
|
|
<div class="ui small search fluid action input">
|
|
<input type="hidden" name="state" value="{{$.State}}">
|
|
{{if not .PageIsMilestones}}
|
|
<input type="hidden" name="type" value="{{$.ViewType}}">
|
|
<input type="hidden" name="labels" value="{{.SelectLabels}}">
|
|
<input type="hidden" name="milestone" value="{{$.MilestoneID}}">
|
|
<input type="hidden" name="project" value="{{$.ProjectID}}">
|
|
<input type="hidden" name="assignee" value="{{$.AssigneeID}}">
|
|
<input type="hidden" name="poster" value="{{$.PosterUsername}}">
|
|
{{end}}
|
|
{{template "shared/search/input" dict "Value" .Keyword}}
|
|
{{if .PageIsIssueList}}
|
|
<button id="issue-list-quick-goto" class="ui small icon button tw-hidden" data-tooltip-content="{{ctx.Locale.Tr "explore.go_to"}}" data-repo-link="{{.RepoLink}}">{{svg "octicon-hash"}}</button>
|
|
{{end}}
|
|
{{template "shared/search/button"}}
|
|
</div>
|
|
</form>
|