no longer show user language in badge
This commit is contained in:
parent
92af72dc13
commit
e2ecbdb73a
|
@ -3,16 +3,11 @@
|
||||||
<div>
|
<div>
|
||||||
@u.profileOrDefault.countryInfo.map {
|
@u.profileOrDefault.countryInfo.map {
|
||||||
case (code, name) => {
|
case (code, name) => {
|
||||||
<span class="countrylang">
|
<span class="country">
|
||||||
<img class="flag" src="@staticUrl(s"images/flags/$code.png")" alt="@name" title="@name" />
|
<img class="flag" src="@staticUrl(s"images/flags/$code.png")" alt="@name" title="@name" />
|
||||||
@if(u.username.size < 15) { @name }
|
@if(u.username.size < 15) { @name }
|
||||||
</span>
|
</span>
|
||||||
}
|
}
|
||||||
}.getOrElse {
|
|
||||||
@u.lang.map(shortLangName).map { name =>
|
|
||||||
<span class="countrylang" data-icon="c"> @name</span>
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@userLink(u, withPowerTip = false)
|
@userLink(u, withPowerTip = false)
|
||||||
</div>
|
</div>
|
||||||
@if(u.engine && ctx.me.fold(true)(u !=)) {
|
@if(u.engine && ctx.me.fold(true)(u !=)) {
|
||||||
|
|
|
@ -281,7 +281,7 @@ body.dark .ddloader {
|
||||||
#powerTip a.mini_board {
|
#powerTip a.mini_board {
|
||||||
border-width: 0 0 1px 0;
|
border-width: 0 0 1px 0;
|
||||||
}
|
}
|
||||||
#powerTip .countrylang {
|
#powerTip .country {
|
||||||
float: right;
|
float: right;
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
padding-right: 3px;
|
padding-right: 3px;
|
||||||
|
|
Loading…
Reference in a new issue