Merge pull request #3179 from isaacl/countryPowertipTweak

Minor update to powertip display
This commit is contained in:
Thibault Duplessis 2017-06-23 12:52:53 +02:00 committed by GitHub
commit ae7d3bf563
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@
case (code, name) => {
<span class="country">
<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>
}
}

View file

@ -198,7 +198,7 @@ object Countries {
"TZ" -> "Tanzania",
"UA" -> "Ukraine",
"UG" -> "Uganda",
"US" -> "United States",
"US" -> "USA",
"UY" -> "Uruguay",
"UZ" -> "Uzbekistan",
"VC" -> "Saint Vincent and the Grenadines",