mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-02 11:36:05 +01:00
Add assignee and milestone to the new issue form.
This commit is contained in:
@@ -53,8 +53,12 @@ trait IssuesControllerBase extends ControllerBase {
|
||||
|
||||
// TODO requires users only and readable repository checking
|
||||
get("/:owner/:repository/issues/new")( usersOnly {
|
||||
getRepository(params("owner"), params("repository"), baseUrl)
|
||||
.map (issues.html.create(_))
|
||||
val owner = params("owner")
|
||||
val repository = params("repository")
|
||||
|
||||
getRepository(owner, repository, baseUrl)
|
||||
.map (issues.html.create((getCollaborators(owner, repository) :+ owner).sorted,
|
||||
getMilestones(owner, repository), getLabels(owner, repository), _))
|
||||
.getOrElse (NotFound)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user