diff --git a/app/templating/UserHelper.scala b/app/templating/UserHelper.scala index 7ca3d2eba9..ea1dbe581e 100644 --- a/app/templating/UserHelper.scala +++ b/app/templating/UserHelper.scala @@ -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) diff --git a/todo b/todo index fa827394ac..2a4e61ec25 100644 --- a/todo +++ b/todo @@ -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