fix user nb games with me

pull/83/head
Thibault Duplessis 2013-08-03 11:07:58 +02:00
parent 5ee63de63f
commit e05cc0871e
2 changed files with 4 additions and 2 deletions

View File

@ -113,7 +113,7 @@ trait UserHelper { self: I18nHelper with StringHelper ⇒
def userGameFilterTitleNoTag(info: UserInfo, filter: GameFilter)(implicit ctx: Context) = Html((filter match {
case GameFilter.All info.user.count.game + " " + trans.gamesPlayed()
case GameFilter.Me ctx.me.fold("-")(me trans.nbGamesWithYou(~info.nbWithMe).body)
case GameFilter.Me ctx.me ?? (me trans.nbGamesWithYou.str(info.nbWithMe))
case GameFilter.Rated info.nbRated + " " + trans.rated()
case GameFilter.Win trans.nbWins(info.user.count.win)
case GameFilter.Loss trans.nbLosses(info.user.count.loss)

4
todo
View File

@ -55,5 +55,7 @@ TV channels (bullet, blitz, standard, ...)
allow castling and analysis for FEN games whenever possible
realtime computer analysis of TV game
embeddable tv iframe http://en.lichess.org/forum/lichess-feedback/new-feature-lichess-tv?page=3
many tv ideas (answer) http://en.lichess.org/forum/lichess-feedback/new-feature-lichess-tv?page=3
many tv ideas (answer)
http://en.lichess.org/forum/lichess-feedback/new-feature-lichess-tv?page=3
http://i.imgur.com/ZSi90k0.jpg
separate games in spectator chat