sport/app/football/views/matchList/matchesPage.scala.html
@maybeAtom.map{ atom => @views.html.fragments.atoms.interactive(atom, shouldFence = false) }
@for( commercial <- page.metadata.commercial; branding <- commercial.branding(Edition(request)) ) { @pageLogo(branding, isInteractive = false) } @football.views.html.fragments.leagueSelector(filters, matchesList.pageType, matchesList match { case ml: CompetitionList => ml.competition case _ => None })
@matchesList.competitions.map{ comp => - @comp.fullName }
@matchesList.matchesGroupedByDateAndCompetition.map { case (date, competitionMatches) =>
@date.format(DateTimeFormatter.ofPattern("EEEE d MMMM yyyy")) @competitionMatches.map { case (competition, matches) =>
@football.views.html.matchList.matchesList( matches, competition, date, responsiveFont = true, matchType = matchesList.pageType, // this is a special case for the world cup, remove it afterwards heading = Some((competition.fullName, Option(competition.url))) )
} } @if( matchesList.nextPageNoJs.isDefined) { @matchesList.nextPageNoJs.map{url => @fragments.inlineSvg("plus", "icon") More } }