@(issues: List[(gitbucket.core.service.IssuesService.IssueInfo, Option[(gitbucket.core.model.CommitState, List[gitbucket.core.model.CommitStatus])])], 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, priority, commentCount, commitId, assignedUserNames), status) =>
@issue.userName/@issue.repositoryName ･ @if(issue.isPullRequest){ @issue.title } else { @issue.title } @status.map { case (summary, statuses) => @gitbucket.core.helper.html.commitstatus(commitId.get, summary, statuses) } @labels.map { label => @label.labelName } @assignedUserNames.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)