Update friend marker with alt text

pull/3596/head
Isaac Levy 2017-09-12 18:31:16 -04:00
parent 87c1d43b79
commit 171c3a44a4
1 changed files with 3 additions and 4 deletions

View File

@ -70,10 +70,9 @@ side = side.some) {
@players.map {
case (pov, chat) => {
<div class="game">
<a class="title" href="@routes.Round.player(pov.fullId)">
@if(pov.game.fromFriend) {
<strong>[F]</strong>
} @usernameOrAnon(pov.opponent.userId) @momentFromNow(pov.game.movedAt)
<a class="title" href="@routes.Round.player(pov.fullId)"
@if(pov.game.fromFriend) { style="color:green;" title="Friend" }>
@usernameOrAnon(pov.opponent.userId) @momentFromNow(pov.game.movedAt)
</a>
<div class="chat">
@chat.lines.map { line =>