@** * Yona, 21st Century Project Hosting SW * * Copyright Yona & Yobi Authors & NAVER Corp. * https://yona.io **@ @(title: String, organization: Organization, currentPage: com.avaje.ebean.Page[PullRequest], condition: controllers.PullRequestApp.SearchCondition, requestType: String) @import utils.AccessControl @import controllers.PullRequestApp.Category @import models.PushedBranch @conditionForOpen = @{condition.clone.setCategory(Category.OPEN)} @conditionForClosed = @{condition.clone.setCategory(Category.CLOSED)} @searchFormAction(category: Category) = @{ category match { case Category.CLOSED => { routes.OrganizationApp.organizationClosedPullRequests(organization.name) } case Category.OPEN => { routes.OrganizationApp.organizationPullRequests(organization.name, "open") } } } @organizationLayout(organization.name, utils.MenuType.NONE, organization) { @header(organization) @menu(organization)
}