@(target: String, issues: List[(gitbucket.core.service.IssuesService.IssueInfo, Option[(gitbucket.core.model.CommitState, List[gitbucket.core.model.CommitStatus])])], page: Int, collaborators: List[String], milestones: List[gitbucket.core.model.Milestone], priorities: List[gitbucket.core.model.Priority], labels: List[gitbucket.core.model.Label], openCount: Int, closedCount: Int, condition: gitbucket.core.service.IssuesService.IssueSearchCondition, repository: gitbucket.core.service.RepositoryService.RepositoryInfo, isEditable: Boolean, isManageable: Boolean)(implicit context: gitbucket.core.controller.Context) @import gitbucket.core.view.helpers @gitbucket.core.html.main((if(target == "issues") "Issues" else "Pull requests") + s" - ${repository.owner}/${repository.name}", Some(repository)){ @gitbucket.core.html.menu(target, repository){
@if(isEditable){ @if(target == "issues"){ New issue } @if(target == "pulls"){ New pull request } } @gitbucket.core.issues.html.listparts(target, issues, page, openCount, closedCount, condition, collaborators, milestones, priorities, labels, Some(repository), isManageable) @if(isManageable){ } } } @if(isManageable){
}