fix user profile

pull/83/head
Thibault Duplessis 2013-01-17 01:48:32 +01:00
parent a593d514e7
commit 140796057d
4 changed files with 6 additions and 9 deletions

View File

@ -7,7 +7,7 @@ import play.api.templates.Html
trait AssetHelper {
val assetVersion = 45
val assetVersion = 46
def cssTag(name: String) = css("stylesheets/" + name)

View File

@ -32,8 +32,8 @@
@actions = {
@if(ctx is u) {
<a class="small" href="@routes.User.passwd">Change password</a>
<a class="small" href="@routes.User.close">Close account</a>
<a class="small action" href="@routes.User.passwd">Change password</a>
<a class="small action" href="@routes.User.close">Close account</a>
} else {
@if(isGranted(Permission.MarkEngine)) {
<form method="post" action="@routes.Mod.engine(u.username)">
@ -115,7 +115,7 @@ evenMoreCss = evenMoreCss) {
@actions
@info.spy.map { spy =>
<div class="user_spy">
<a class="toggle">Show Mod infos</a>
<a class="action toggle">Show Mod infos</a>
<div class="inner">
<br />
<strong>Other usernames:</strong>

View File

@ -74,7 +74,7 @@ div.user_show div.games {
div.user_show .actions {
margin-bottom: 1em;
}
div.user_show .actions a.toggle,
div.user_show .actions a.action,
div.user_show .actions form {
display: block;
float: left;

5
todo
View File

@ -58,7 +58,4 @@ optimize Query.opponents (user with less games first)
check denormalization of user game fields
opponent history http://imgur.com/ur1Mt http://en.lichess.org/forum/lichess-feedback/match-history#10
show tournament trophies on user profile
deploy
------
delete bobo2 security entries
lots of bookmarks break the page style http://en.lichess.org/rc7l3n66