0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-18 10:14:32 +01:00

Fix missing title and filter in issue sidebar project menu (#22557)

These exist in the new issue form but were seemingly forgotten here.
This commit is contained in:
Brecht Van Lommel 2023-01-31 23:40:38 +01:00 committed by GitHub
parent cc910014ab
commit 1947409ef0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -212,6 +212,13 @@
{{end}}
</a>
<div class="menu" data-action="update" data-issue-id="{{$.Issue.ID}}" data-update-url="{{$.RepoLink}}/issues/projects">
<div class="header" style="text-transform: none;font-size:16px;">{{.locale.Tr "repo.issues.new.add_project_title"}}</div>
{{if or .OpenProjects .ClosedProjects}}
<div class="ui icon search input">
<i class="icon df ac jc">{{svg "octicon-search" 16}}</i>
<input type="text" placeholder="{{.locale.Tr "repo.issues.filter_projects"}}">
</div>
{{end}}
<div class="no-select item">{{.locale.Tr "repo.issues.new.clear_projects"}}</div>
{{if .OpenProjects}}
<div class="divider"></div>