remove user stats empty page
This commit is contained in:
parent
da17b15029
commit
3683889b2d
|
@ -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 ⇒
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue