}
} else {
@u.title.flatMap(lila.user.User.titlesMap.get).map { title =>
@profile.officialRating.map { r =>
@r.name.toUpperCase rating: @r.rating
}
@NotForKids {
@profile.nonEmptyLocation.map { l =>
@l,
}
}
@profile.countryInfo.map { c =>
@c.name
}
@trans.memberSince() @showDate(u.createdAt)
@u.seenAt.map { seen =>
@trans.lastSeenActive(momentFromNow(seen))
}
@info.completionRatePercent.map { c =>
@trans.gameCompletionRate(s"$c%")
}
@if(ctx is u) {
@trans.profileCompletion(s"${profile.completionPercent}%")
@trans.favoriteOpponents()
}
@info.playTime.map { playTime =>
@trans.tpTimeSpentPlaying(showPeriod(playTime.totalPeriod))
@playTime.nonEmptyTvPeriod.map { tvPeriod =>
@trans.tpTimeSpentOnTV(showPeriod(tvPeriod))
}
}
@info.teamIds.sorted.map { t =>
@teamLink(t, withIcon = false)
}