mirror of
https://github.com/go-gitea/gitea
synced 2025-07-23 02:38:35 +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:
@@ -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")
|
||||
|
||||
|
Reference in New Issue
Block a user