@(collaborators: List[String], milestones: List[gitbucket.core.model.Milestone], labels: List[gitbucket.core.model.Label], hasWritePermission: Boolean, repository: gitbucket.core.service.RepositoryService.RepositoryInfo)(implicit context: gitbucket.core.controller.Context) @import context._ @import gitbucket.core.view.helpers._ @html.main(s"New Issue - ${repository.owner}/${repository.name}", Some(repository)){ @html.menu("issues", repository){
@avatar(loginAccount.get.userName, 48)
@helper.html.preview( repository = repository, content = "", enableWikiLink = false, enableRefsLink = true, enableTaskList = true, hasWritePermission = hasWritePermission, style = "width: 680px; height: 200px; max-height: 250px;", elastic = true )
@issueinfo(None, Nil, Nil, collaborators, milestones.map(x => (x, 0, 0)), labels, hasWritePermission, repository)
} }