holyandrew (holyandrew) wrote in changelog,
holyandrew
holyandrew
changelog

[livejournal] r21815: LJSUP-11961: Display social capital for ...

Committer: akanashin
LJSUP-11961: Display social capital for all users and communities
U   trunk/htdocs/userinfo.bml
Modified: trunk/htdocs/userinfo.bml
===================================================================
--- trunk/htdocs/userinfo.bml	2012-04-26 12:44:32 UTC (rev 21814)
+++ trunk/htdocs/userinfo.bml	2012-04-26 12:55:54 UTC (rev 21815)
@@ -714,7 +714,7 @@
                                                         "?country=ua&askname=" . $u->username . "#ask_position"}) .
                          "</li>";
         }
-        if ((ref $ua_position eq 'HASH') || (ref $position eq 'HASH')) {
+        if ((ref $ua_position eq 'HASH') || (ref $position eq 'HASH' && ( $u->journaltype eq 'C' || LJ::SUP->is_sup_enabled($u)))) {
                 $body .= "<li class='rating-social-capital'>" .
                          $soc_image .
                          LJ::Lang::ml('ljcom.userinfo.social_capital',{soc_capital => $soc_capital}) . ' ' .

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