@(component: controllers.MatchNav)(implicit request: RequestHeader)
@import implicits.Football._
@report(trail: Trail, text: String) = {
@if(component.currentPage.exists(_.url == trail.url)){
@text
} else {
@text
}
}
@if(component.hasReports){
@component.matchReport.map{ matchReport => @report(matchReport, "Report") }
@component.minByMin.map{ minByMin => @report(minByMin, "Min-by-min") }
@report(component.stats, "Stats")
}