Minor update to powertip display
Show country text based on user+country length.
This commit is contained in:
parent
53e4fff7d4
commit
3672d4d8b3
|
@ -5,7 +5,7 @@
|
||||||
case (code, name) => {
|
case (code, name) => {
|
||||||
<span class="country">
|
<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 + name.size < 25) { @name }
|
||||||
</span>
|
</span>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -198,7 +198,7 @@ object Countries {
|
||||||
"TZ" -> "Tanzania",
|
"TZ" -> "Tanzania",
|
||||||
"UA" -> "Ukraine",
|
"UA" -> "Ukraine",
|
||||||
"UG" -> "Uganda",
|
"UG" -> "Uganda",
|
||||||
"US" -> "United States",
|
"US" -> "USA",
|
||||||
"UY" -> "Uruguay",
|
"UY" -> "Uruguay",
|
||||||
"UZ" -> "Uzbekistan",
|
"UZ" -> "Uzbekistan",
|
||||||
"VC" -> "Saint Vincent and the Grenadines",
|
"VC" -> "Saint Vincent and the Grenadines",
|
||||||
|
|
Loading…
Reference in a new issue