@(tour: Tournament, verdicts: lila.tournament.Condition.All.WithVerdicts, streamers: Set[User.ID], shieldOwner: Option[lila.tournament.TournamentShield.OwnerId])(implicit ctx: Context)
@tour.spotlight.map { s =>
@lila.common.String.html.markdownLinks(s.description)
@shieldOwner.map { owner =>
Defender:@userIdLink(owner.value.some)
}
}
@if(verdicts.relevant) {
@if(verdicts.list.size < 2) {
Condition of entry:
}
@verdicts.list.map { v =>
@v.condition.name(ctx.lang)
}
}
@if(tour.createdBy == "lichess") {
@trans.tournamentOfficial()
} else {
@trans.by(usernameOrId(tour.createdBy))
}
• @absClientDateTime(tour.startsAt)
@if(!tour.position.initial) {
@tour.position.eco @tour.position.name
}
@tour.winnerId.map { userId =>
@trans.winner(): @userIdLink(userId.some)
}
@streamers.map { id =>