parent
d99edb3aef
commit
87c1d43b79
|
@ -71,7 +71,9 @@ side = side.some) {
|
|||
case (pov, chat) => {
|
||||
<div class="game">
|
||||
<a class="title" href="@routes.Round.player(pov.fullId)">
|
||||
vs @usernameOrAnon(pov.opponent.userId) @momentFromNow(pov.game.movedAt)
|
||||
@if(pov.game.fromFriend) {
|
||||
<strong>[F]</strong>
|
||||
} @usernameOrAnon(pov.opponent.userId) – @momentFromNow(pov.game.movedAt)
|
||||
</a>
|
||||
<div class="chat">
|
||||
@chat.lines.map { line =>
|
||||
|
|
|
@ -440,6 +440,7 @@ case class Game(
|
|||
|
||||
def fromPool = source contains Source.Pool
|
||||
def fromLobby = source contains Source.Lobby
|
||||
def fromFriend = source contains Source.Friend
|
||||
|
||||
def winner = players find (_.wins)
|
||||
|
||||
|
|
Loading…
Reference in New Issue