mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-25 11:22:16 +00:00
Assign pull request to project during creation (#28227)
When creating a pull request, allow directly assigning it to a project,
as it is already possible for issues.
After:

This commit is contained in:
parent
ad0b637d46
commit
4f8f5f6e25
2 changed files with 13 additions and 1 deletions
|
@ -845,6 +845,7 @@ func CompareDiff(ctx *context.Context) {
|
|||
}
|
||||
}
|
||||
|
||||
ctx.Data["IsProjectsEnabled"] = ctx.Repo.CanWrite(unit.TypeProjects)
|
||||
ctx.Data["IsAttachmentEnabled"] = setting.Attachment.Enabled
|
||||
upload.AddUploadContext(ctx, "comment")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue