Merge branch 'master' of github.com:ornicar/lila
* 'master' of github.com:ornicar/lila: actually check the tenth digit instead Fix ranking in3315b63
3D -> 2D Reuse the same element in6e4b28e
This commit is contained in:
commit
89333152ef
|
@ -22,7 +22,9 @@ trait NumberHelper { self: I18nHelper =>
|
|||
def localize(implicit ctx: UserContext): String = formatter format number
|
||||
}
|
||||
|
||||
def nth(number: Int) = number match {
|
||||
def nth(number: Int) = if ((11 to 13).contains(number % 100))
|
||||
"th"
|
||||
else number % 10 match {
|
||||
case 1 => "st"
|
||||
case 2 => "nd"
|
||||
case 3 => "rd"
|
||||
|
|
|
@ -39,7 +39,7 @@ withLangAnnotations: Boolean = true)(body: Html)(implicit ctx: Context)
|
|||
<link href="@routes.Blog.atom()" type="application/atom+xml" rel="alternate" title="Latest blog posts" />
|
||||
@if(withLangAnnotations){@langAnnotations}
|
||||
@ctx.transpBgImg.map { img =>
|
||||
<style type="text/css">body.transp::before{background-image:url('@img');}</style>
|
||||
<style type="text/css" id="bg-data">body.transp::before{background-image:url('@img');}</style>
|
||||
}
|
||||
</head>
|
||||
<body class="preload base @List(
|
||||
|
|
|
@ -312,7 +312,7 @@ div.lichess_board {
|
|||
#top .is3d .Woodi {
|
||||
background-image: url(../images/board/3d/woodi.1024.png);
|
||||
}
|
||||
/* 3D boards */
|
||||
/* 2D boards */
|
||||
|
||||
.blue .is2d .cg-board,
|
||||
#top div.color_demo.blue {
|
||||
|
|
Loading…
Reference in a new issue