remove user stats empty page

This commit is contained in:
Thibault Duplessis 2013-02-14 15:35:57 +01:00
parent da17b15029
commit 3683889b2d
3 changed files with 1 additions and 13 deletions

View file

@ -113,8 +113,6 @@ object User extends LilaController {
}
}
val stats = todo
def export(username: String) = Open { implicit ctx
IOptionIOResult(userRepo byId username) { u
env.game.export(u).apply map { path

View file

@ -2,16 +2,7 @@
@title = @{ "%s - page %d".format(trans.chessPlayers(), paginator.currentPage) }
@goodies = {
<div class="lichess_goodies">
<br />
<a href="@routes.User.stats()">See player stats</a>
</div>
}
@user.layout(
title = title,
goodies = goodies.some) {
@user.layout(title = title) {
<div class="content_box">
<div class="user_lists clearfix">
<div class="all_users">

View file

@ -114,7 +114,6 @@ POST /@/:username/export controllers.User.export(username: String)
GET /@/:username/:filterName controllers.User.showFilter(username: String, filterName: String, page: Int ?= 1)
GET /@/:username controllers.User.show(username: String)
GET /people controllers.User.list(page: Int ?= 1)
GET /people/stats controllers.User.stats
GET /people/autocomplete controllers.User.autocomplete
GET /people/online controllers.User.online
GET /account/bio controllers.User.getBio