@(competition: model.Competition, numVisible: Int, isCompetitionPage: Boolean)(implicit request: RequestHeader)
  • Today's matches

    @competition.fullName
      @competition.matches.take(numVisible).map{theMatch => @fragments.renderMatch(theMatch) }
    @if(competition.matches.length > numVisible) {
      @competition.matches.drop(numVisible).map{theMatch => @fragments.renderMatch(theMatch) }
    }
  • @if(isCompetitionPage) { View all @competition.fullName fixtures } else { View all today's matches }