juks (juks) wrote in changelog,
juks
juks
changelog

[ljcom] r10096: LJSUP-7445 Try & buy

Committer: iaskarov
LJSUP-7445 Try & buy
U   trunk/cgi-bin/LJ/Widget/Shop/MainPage.pm
Modified: trunk/cgi-bin/LJ/Widget/Shop/MainPage.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/Shop/MainPage.pm	2011-02-21 12:58:39 UTC (rev 10095)
+++ trunk/cgi-bin/LJ/Widget/Shop/MainPage.pm	2011-02-22 06:32:50 UTC (rev 10096)
@@ -26,8 +26,9 @@
     my $now = time;
 
     return {
-        'promoblocks' => \@promoblocks_display,
+        'promoblocks'   => \@promoblocks_display,
         'show_givemore' => ($now >= $LJ::PAID_ACCOUNT_PROMO_TOKENS_START and $now < $LJ::PAID_ACCOUNT_PROMO_TOKENS_END),
+        'show_trynbuy'  => LJ::TryNBuy->can_enable(LJ::get_remote()),
     };
 }
 

Tags: juks, ljcom, pm
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