add link to favorite opponents

This commit is contained in:
Thibault Duplessis 2013-06-01 13:54:29 +02:00
parent 021c54e2a9
commit e25fc40bef
3 changed files with 4 additions and 7 deletions

View file

@ -93,12 +93,7 @@ evenMoreCss = evenMoreCss) {
</div>
}
<div class="stats">
<p class="numbers">
@trans.nbWins(strong(u.nbWinsH)),
@trans.nbLosses(strong(u.nbLossesH)),
@trans.nbDraws(strong(u.nbDrawsH)),
@Html(strong(u.nbAi)) AI
</p>
<a href="@routes.User.opponents(u.username)">@trans.favoriteOpponents()</a>
<div class="teams">
@teamIds(u.id).sortBy(t => !myTeam(t)).map { teamId =>
@teamLink(teamId, ("s16 team revert-underline" + myTeam(teamId).fold(" mine", "")).some)

View file

@ -140,7 +140,9 @@ div.footer div.right {
cursor: pointer;
}
.button .s16 {
display: inline-block;
height: 16px;
line-height: 16px;
}
a.easy_button {
font-weight: normal;

View file

@ -60,7 +60,7 @@ div.user_show .user-infos {
div.user_show .user_bio,
div.user_show .elo_with_me,
div.user_show .numbers,
div.user_show .stats,
div.user_show .tournament_points,
div.user_show .teams {
display: block;