mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-21 11:38:43 +08:00
e619384098
Replace #26661, fix #25979 Not perfect, but usable and much better than before. Since it is quite complex, I am not quite sure whether there would be any regression, if any, I will fix in first time. I have tested the related pages many times: issue list, milestone issue list, project view, user issue list, org issue list.
19 lines
959 B
Handlebars
19 lines
959 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>
|