sport/app/football/views/tablesList/tablesPage.scala.html
@page.atom.map{ atom => @views.html.fragments.atoms.interactive(atom, shouldFence = false) }
<@if(!page.singleCompetition){h1}else{h2} class="hide-on-mobile-if-localnav content__inline-section page-heading--football"> Football tables @if(!page.singleCompetition){h1}else{h2}> @football.views.html.fragments.leagueSelector(page.filters, "tables", page.comp) @page.tables.map { table => @if(page.singleCompetition){
}else{
}
@table.groups.zipWithRowInfo.map{ case (group, info) => @if(table.multiGroup){ @group.round.name.map { name =>
@tableView(table.competition, group, striped = true, responsiveFont = true, heading = if(info.rowNum == 1) Option(table.competition.fullName) else None, linkToCompetition = info.isLast && !page.singleCompetition ) } }else{ @tableView(table.competition, group, striped = true, responsiveFont = true, heading = Option(table.competition.fullName), linkToCompetition = !page.singleCompetition ) } }
}