@(theMatch: FootballMatch) @import implicits.Football._ @cleanScorers(teamScorers: Option[String]) = { @teamScorers.map{ scorers => @scorers.replace("(", "").replace(")", "").replace(",", ", ") }.getOrElse(Html(" ")) } @defining((theMatch.homeTeam, theMatch.awayTeam)){ case (homeTeam, awayTeam) => @if(theMatch.isLive || theMatch.isResult){
@cleanScorers(homeTeam.scorers)
}@cleanScorers(awayTeam.scorers)
} } else {(agg. @theMatch.homeTeam.aggregateScore-@theMatch.awayTeam.aggregateScore)
} @theMatch.comments.map{ comments =>