@(issues: List[gitbucket.core.service.RepositorySearchService.IssueSearchResult], fileCount: Int, query: String, page: Int, repository: gitbucket.core.service.RepositoryService.RepositoryInfo)(implicit context: gitbucket.core.controller.Context) @import context._ @import gitbucket.core.view.helpers._ @import gitbucket.core.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") } }