@(files: List[gitbucket.core.service.RepositorySearchService.FileSearchResult], query: String, page: Int, repository: gitbucket.core.service.RepositoryService.RepositoryInfo)(implicit context: gitbucket.core.controller.Context) @import gitbucket.core.view.helpers @import gitbucket.core.service.RepositorySearchService @gitbucket.core.html.main("Search Results", Some(repository)){ @gitbucket.core.search.html.menu("files", query, repository){ @if(query.nonEmpty) { @if(files.isEmpty) {
@Html(file.highlightText)