From e2ecbdb73acb5b834d146a0cf45e06fe1916bf03 Mon Sep 17 00:00:00 2001 From: Thibault Duplessis Date: Thu, 1 Jun 2017 18:47:02 +0200 Subject: [PATCH] no longer show user language in badge --- app/views/user/mini.scala.html | 7 +------ public/stylesheets/common.css | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/app/views/user/mini.scala.html b/app/views/user/mini.scala.html index 1f8c9ebf0c..7295a1496c 100644 --- a/app/views/user/mini.scala.html +++ b/app/views/user/mini.scala.html @@ -3,16 +3,11 @@
@u.profileOrDefault.countryInfo.map { case (code, name) => { - + @name @if(u.username.size < 15) { @name } } - }.getOrElse { - @u.lang.map(shortLangName).map { name => -  @name - } - } @userLink(u, withPowerTip = false)
@if(u.engine && ctx.me.fold(true)(u !=)) { diff --git a/public/stylesheets/common.css b/public/stylesheets/common.css index d4a7a8caac..4040bbef9a 100644 --- a/public/stylesheets/common.css +++ b/public/stylesheets/common.css @@ -281,7 +281,7 @@ body.dark .ddloader { #powerTip a.mini_board { border-width: 0 0 1px 0; } -#powerTip .countrylang { +#powerTip .country { float: right; font-size: 0.9em; padding-right: 3px;