Первый фоллен на хелле (wildkin) wrote in changelog,
Первый фоллен на хелле
wildkin
changelog

[ljcom] r11377: LJSUP-9723: We should implement new rati...

Committer: dnikolaev
LJSUP-9723: We should implement new ratings for friends and communities

U   trunk/bin/upgrading/en_LJ.dat
U   trunk/cgi-bin/LJ/Widget/HomepageEN.pm
U   trunk/cgi-bin/LJ/Widget/HomepageRU.pm
Modified: trunk/bin/upgrading/en_LJ.dat
===================================================================
--- trunk/bin/upgrading/en_LJ.dat	2012-01-31 13:17:14 UTC (rev 11376)
+++ trunk/bin/upgrading/en_LJ.dat	2012-01-31 13:27:51 UTC (rev 11377)
@@ -3970,7 +3970,7 @@
 
 ljcom.userinfo.accounttype=Account type
 
-ljcom.userinfo.account_rating=[[rating_place]] in place <a href=[[url_user_rating]]>User ratings</a> (Social capital [[soc_capital]]) 
+ljcom.userinfo.account_rating=[[rating_place]] in place <a href=[[url_user_rating]]>User ratings</a> <em>(Social capital [[soc_capital]])</em>
 
 ljcom.userinfo.comms.partner|staleness=1
 ljcom.userinfo.comms.partner=Partner
@@ -13465,6 +13465,11 @@
 widget.ratingtop10.journals|staleness=1
 widget.ratingtop10.journals=Journals
 
+widget.rating_top_journals.header.users=Users
+widget.rating_top_journals.header.communities=Communities
+widget.rating_top_journals.all_journals.users=All users
+widget.rating_top_journals.all_journals.communities=All communities
+
 widget.recentcomments.title=Journal Comments
 
 widget.recentposts.rssalt=RSS version

Modified: trunk/cgi-bin/LJ/Widget/HomepageEN.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/HomepageEN.pm	2012-01-31 13:17:14 UTC (rev 11376)
+++ trunk/cgi-bin/LJ/Widget/HomepageEN.pm	2012-01-31 13:27:51 UTC (rev 11377)
@@ -117,6 +117,10 @@
         ) ?
         LJ::Widget::ExtBlock->render(id=>'homepage.gazeta') : '';
 
+    ## Ratings
+    $result{personalstats} = LJ::PersonalStats->get_result_html($remote, { widget => 1, unique_journals => 1, rating_country => $GET->{rating} }, '/ratings/posts/', { homepage => 1 });
+
+
     ## Widget SUP1MillionPromo
     $result{widget_sup1millionpromo} = LJ::Widget::SUP1MillionPromo->render;
 

Modified: trunk/cgi-bin/LJ/Widget/HomepageRU.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/HomepageRU.pm	2012-01-31 13:17:14 UTC (rev 11376)
+++ trunk/cgi-bin/LJ/Widget/HomepageRU.pm	2012-01-31 13:27:51 UTC (rev 11377)
@@ -122,8 +122,12 @@
     $result{widget_friendupdates} = LJ::Widget::FriendUpdates->render;
 
     ## Widget RatingTop10
-    $result{widget_ratingtop10} = LJ::Widget::RatingTop10->render;
+    # $result{widget_ratingtop10} = LJ::Widget::RatingTop10->render;
 
+    $result{widget_ratingtop10_users} = LJ::Widget::RatingTopJournals->render(what => 'users');
+
+    $result{widget_ratingtop10_comms} = LJ::Widget::RatingTopJournals->render(what => 'communities');
+
     ## Widget SettingWindow
     $result{widget_settingwindow} = LJ::Widget::SettingWindow->render;
 

Tags: dat, dnikolaev, ljcom, pm, wildkin
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