no longer show user language in badge

pull/3105/merge
Thibault Duplessis 2017-06-01 18:47:02 +02:00
parent 92af72dc13
commit e2ecbdb73a
2 changed files with 2 additions and 7 deletions

View File

@ -3,16 +3,11 @@
<div>
@u.profileOrDefault.countryInfo.map {
case (code, name) => {
<span class="countrylang">
<span class="country">
<img class="flag" src="@staticUrl(s"images/flags/$code.png")" alt="@name" title="@name" />
@if(u.username.size < 15) { @name }
</span>
}
}.getOrElse {
@u.lang.map(shortLangName).map { name =>
<span class="countrylang" data-icon="c">&nbsp;@name</span>
}
}
@userLink(u, withPowerTip = false)
</div>
@if(u.engine && ctx.me.fold(true)(u !=)) {

View File

@ -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;