@(issues: List[gitbucket.core.service.IssuesService.IssueInfo], page: Int, openCount: Int, closedCount: Int, condition: gitbucket.core.service.IssuesService.IssueSearchCondition, filter: String, groups: List[String])(implicit context: gitbucket.core.controller.Context) @import gitbucket.core.view.helpers @import gitbucket.core.service.IssuesService @import gitbucket.core.service.IssuesService.IssueInfo

@gitbucket.core.dashboard.html.header(openCount, closedCount, condition, groups)
@issues.map { case IssueInfo(issue, labels, milestone, commentCount, commitStatus) =>
@issue.userName/@issue.repositoryName ･ @if(issue.isPullRequest){ @issue.title } else { @issue.title } @gitbucket.core.issues.html.commitstatus(issue, commitStatus) @labels.map { label => @label.labelName } @issue.assignedUserName.map { userName => @helpers.avatar(userName, 20, tooltip = true) } @if(commentCount > 0){ @commentCount } else { @commentCount } #@issue.issueId opened by @helpers.user(issue.openedUserName, styleClass="username") @helpers.datetime(issue.registeredDate) @milestone.map { milestone => @milestone }
} @if(issues.isEmpty){
No results matched your search.
}

@gitbucket.core.helper.html.paginator(page, (if(condition.state == "open") openCount else closedCount), IssuesService.IssueLimit, 10, condition.toURL)