holyandrew (holyandrew) wrote in changelog,
holyandrew
holyandrew
changelog

[livejournal] r21795: LJSUP-11397: Display top 5000 users and ...

Committer: akanashin
LJSUP-11397: Display top 5000 users and communities in the top
U   trunk/htdocs/userinfo.bml
Modified: trunk/htdocs/userinfo.bml
===================================================================
--- trunk/htdocs/userinfo.bml	2012-04-25 12:25:57 UTC (rev 21794)
+++ trunk/htdocs/userinfo.bml	2012-04-25 12:33:55 UTC (rev 21795)
@@ -694,7 +694,7 @@
         if (ref $position eq 'HASH') {
                 $soc_image = "<img src='$LJ::IMGPREFIX/profile_icons/" . ($position->{result}->{position}!=0 ? 'social-capital.png?v=17298' : 'korona.png?v=17319') . "'/>";
                 $soc_capital = LJ::commafy(int($position->{result}->{value}/1000));
-                $soc_capital = $soc_capital < 10 ? ' < 10 ' : $soc_capital;
+                $soc_capital = $soc_capital < 0.1 ? ' < 10 ' : $soc_capital;
                 $body .= "<li class='rating-place'>" .
                          $diagram_image .
                          LJ::Lang::ml($href_rating, {rating_place => LJ::commafy($position->{result}->{position}+1),
@@ -705,7 +705,7 @@
         if (ref $ua_position eq 'HASH') {
                 $soc_image = "<img src='$LJ::IMGPREFIX/profile_icons/" . ($ua_position->{result}->{position}!=0 ? 'social-capital.png?v=17298' : 'korona.png?v=17319') . "'/>";
                 $soc_capital = LJ::commafy(int($ua_position->{result}->{value}/1000));
-                $soc_capital = $soc_capital < 10 ? ' < 10 ' : $soc_capital;
+                $soc_capital = $soc_capital < 0.1 ? ' < 10 ' : $soc_capital;
                 $body .= "<li class='rating-place'>" .
                          $diagram_image .
                          LJ::Lang::ml($ua_href_rating, {rating_place => LJ::commafy($ua_position->{result}->{position}+1),

Tags: akanashin, bml, holyandrew, livejournal
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments