restore homepage timeline

This commit is contained in:
Thibault Duplessis 2015-03-28 09:36:07 +01:00
parent dcc67c7a11
commit 02adb6f9d5
4 changed files with 3 additions and 3 deletions

View file

@ -26,7 +26,7 @@ moreJs = moreJs) {
<div class="score_container"><strong class="score">0</strong></div>
<div class="side">
<div class="box">
<h1>@trans.training()</h1>
<h1>@trans.coordinates()</h1>
@if(ctx.isAuth) {
@scoreOption.map { score =>
<div class="scores">

View file

@ -50,6 +50,7 @@ i18n: @jsI18n()
title = "",
fullTitle = Some("lichess.org • " + trans.freeOnlineChess.str()),
baseline = baseline.some,
side = side.some,
moreJs = moreJs,
moreCss = cssTag("home.css"),
underchat = underchat.some,

View file

@ -9,7 +9,6 @@ document.querySelector('#lichess .round'),
@JsData(opening, identified, userInfos, play = true, attempt = none, win = none, animationDuration = animationDuration),
openingRoutes.controllers,
@Html(J.stringify(i18nJsObject(
trans.training,
trans.toTrackYourProgress,
trans.signUp,
trans.trainingSignupExplanation,

View file

@ -137,7 +137,7 @@ function renderCommentary(ctrl) {
function renderTrainingBox(ctrl) {
return m('div.box', [
m('h1', ctrl.trans('training')),
m('h1', ctrl.trans('openings')),
ctrl.data.user ? renderUserInfos(ctrl) : m('div.register', [
m('p', ctrl.trans('toTrackYourProgress')),
m('p.signup',