@(issues: List[service.RepositorySearchService.IssueSearchResult], fileCount: Int, query: String, page: Int, repository: service.RepositoryService.RepositoryInfo)(implicit context: app.Context) @import context._ @import view.helpers._ @import service.RepositorySearchService._ @html.main("Search Results", Some(repository)){ @menu("issue", fileCount, issues.size, query, repository){ @if(issues.isEmpty){

#### We couldn't find any code matching '@query'

} else {

#### We've found @issues.size code @plural(issues.size, "result")

} @issues.drop((page - 1) * IssueLimit).take(IssueLimit).map { issue =>
#@issue.issueId

#### @issue.title

@if(issue.highlightText.nonEmpty){

    @Html(issue.highlightText)

}
Opened by @issue.openedUserName @helper.html.datetimeago(issue.registeredDate) @if(issue.commentCount > 0){ @issue.commentCount @plural(issue.commentCount, "comment") }
} @helper.html.paginator(page, issues.size, IssueLimit, 10, s"${url(repository)}/search?q=${urlEncode(query)}&type=issue") } }