@(tours: List[Tournament], scheduled: Boolean)
@tours.filter(_.isScheduled == scheduled).map { tour =>
@tour.name
|
@tour.schedule.map { s =>
@momentFromNow(s.at) |
}.getOrElse {
@tour.clock.show
@if(tour.variant.exotic) { @tour.variant.shortName }
|
}
@tour.durationString |
@tour.nbPlayers |
}