Committer: akanashin
LJSUP-11961: Display social capital for all users and communitiesU trunk/htdocs/userinfo.bml
Modified: trunk/htdocs/userinfo.bml =================================================================== --- trunk/htdocs/userinfo.bml 2012-04-26 11:56:12 UTC (rev 21813) +++ trunk/htdocs/userinfo.bml 2012-04-26 12:44:32 UTC (rev 21814) @@ -691,7 +691,7 @@ $body .= "<ul class='rating-details'>"; - if (ref $position eq 'HASH') { + if (ref $position eq 'HASH' && ( $u->journaltype eq 'C' || LJ::SUP->is_sup_enabled($u) )) { $soc_image = "<img src='$LJ::IMGPREFIX/profile_icons/" . ($position->{result}->{position}!=0 ? 'social-capital.png?v=17298' : 'korona.png?v=17319') . "'/>"; $soc_capital = int($position->{result}->{value}/1000); $soc_capital = $soc_capital < 10 ? ' <10 ' : LJ::commafy($soc_capital);