журнал (shhh) wrote in changelog,
журнал
shhh
changelog

[ljcom] r12322: LJSUP-12917: Add RESERVED and INCOMING t...

Committer: nnikulochkina
LJSUP-12917: Add RESERVED and INCOMING tabs to user wallet page
U   trunk/cgi-bin/LJ/Widget/Shop/View/Wallet.pm
U   trunk/templates/Shop/Wallet.tmpl
Modified: trunk/cgi-bin/LJ/Widget/Shop/View/Wallet.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/Shop/View/Wallet.pm	2012-07-19 13:07:07 UTC (rev 12321)
+++ trunk/cgi-bin/LJ/Widget/Shop/View/Wallet.pm	2012-07-19 13:58:46 UTC (rev 12322)
@@ -16,7 +16,7 @@
 sub require_remote { 1 }
 sub require_cart { 1 }
 
-use constant PAGE_SIZE => 5;
+use constant PAGE_SIZE => 20;
 
 sub get_page_params {
     my ($self) = @_;

Modified: trunk/templates/Shop/Wallet.tmpl
===================================================================
--- trunk/templates/Shop/Wallet.tmpl	2012-07-19 13:07:07 UTC (rev 12321)
+++ trunk/templates/Shop/Wallet.tmpl	2012-07-19 13:58:46 UTC (rev 12322)
@@ -51,7 +51,7 @@
 				<TMPL_VAR expr="ml('wallet.bml.landing.tab.incoming')">
 			</a>
 		</li>
-                </TMPL_IF>
+                </TMPL_UNLESS>
 		<TMPL_IF free_tokens_enabled>
 			<li class="m-buy-types-item last
 						<TMPL_IF tab_tokens_free> current</TMPL_IF>

Tags: ljcom, nikulochkina, nnikulochkina, pm, tmpl
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