Skip to content

Commit

Permalink
Revert "Revert "tweak user search tab""
Browse files Browse the repository at this point in the history
This reverts commit 03cbba3.
  • Loading branch information
ornicar committed Sep 3, 2015
1 parent 693e21d commit a3e533f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/templating/UserHelper.scala
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ trait UserHelper { self: I18nHelper with StringHelper with NumberHelper =>
case GameFilter.Playing => info.nbPlaying + " playing"
case GameFilter.Bookmark => trans.nbBookmarks(info.nbBookmark)
case GameFilter.Imported => trans.nbImportedGames(info.nbImported)
case GameFilter.Search => info.user.count.game + " " + trans.advancedSearch()
case GameFilter.Search => Html(trans.advancedSearch.str().replaceFirst(" ", "<br />"))
}).toString)

def describeUser(user: User) = {
Expand Down
2 changes: 1 addition & 1 deletion modules/gameSearch/src/main/Query.scala
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ object Query {

val sources = lila.game.Source.searchable map { v => v.id -> v.name.capitalize }

val modes = Mode.all map { mode => mode.id -> mode.name }
val modes = Mode.all map { mode => mode.id -> mode.name.capitalize }

val openings = Openings.generals map {
case (code, name) => code -> s"$code ${name.take(50)}"
Expand Down

0 comments on commit a3e533f

Please sign in to comment.