@(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 context._ @import gitbucket.core.view.helpers._ @import gitbucket.core.service.IssuesService @import gitbucket.core.service.IssuesService.IssueInfo

@dashboard.html.header(openCount, closedCount, condition, groups)
@issues.map { case IssueInfo(issue, labels, milestone, commentCount, commitStatus) =>
@if(issue.isPullRequest){ } else { } @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 => @avatar(userName, 20, tooltip = true) } @if(commentCount > 0){ @commentCount } else { @commentCount } #@issue.issueId opened by @user(issue.openedUserName, styleClass="username") @datetime(issue.registeredDate) @milestone.map { milestone => @milestone }
}

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