mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-03 18:02:28 +02:00
Allow adding multiple issues to a project (#17226)
Adds an option like for adding multiple issues to a milestone. Closes #17216
This commit is contained in:
parent
25a2000787
commit
cd0928f0e8
2 changed files with 32 additions and 0 deletions
|
@ -166,6 +166,24 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Projects -->
|
||||
<div class="ui {{if not .Projects}}disabled{{end}} dropdown jump item">
|
||||
<span class="text">
|
||||
{{.i18n.Tr "repo.project_board"}}
|
||||
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
|
||||
</span>
|
||||
<div class="menu">
|
||||
<div class="item issue-action" data-element-id="0" data-url="{{$.Link}}/projects">
|
||||
{{.i18n.Tr "repo.issues.new.no_projects"}}
|
||||
</div>
|
||||
{{range .Projects}}
|
||||
<div class="item issue-action" data-element-id="{{.ID}}" data-url="{{$.RepoLink}}/issues/projects">
|
||||
{{.Title}}
|
||||
</div>
|
||||
{{end}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Assignees -->
|
||||
<div class="ui {{if not .Assignees}}disabled{{end}} dropdown jump item">
|
||||
<span class="text">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue