@(files: List[app.FileSearchResult], query: String, repository: service.RepositoryService.RepositoryInfo)(implicit context: app.Context) @import context._ @import view.helpers._ @html.main("Search Results", Some(repository)){ @menu("code", query, repository){ @if(files.isEmpty){

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

} else {

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

} @files.map { file =>

##### @file.path

@datetime(file.lastModified)

    @Html(file.highlightText)

} } }