Valerii Vasin (valerii) wrote in changelog,
Valerii Vasin
valerii
changelog

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

Committer: vvasin
LJSUP-12917: Add RESERVED and INCOMING tabs to user wallet page. Reserved tab functionality.
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-08-21 14:13:44 UTC (rev 12511)
+++ trunk/cgi-bin/LJ/Widget/Shop/View/Wallet.pm	2012-08-21 15:19:31 UTC (rev 12512)
@@ -16,7 +16,7 @@
 sub require_remote { 1 }
 sub require_cart { 1 }
 
-use constant PAGE_SIZE => 20;
+use constant PAGE_SIZE => 1;
 
 sub need_res {
     my $self = shift;
@@ -24,9 +24,11 @@
     unless ($LJ::DISABLED{wallet_ext}) {
         LJ::need_res(qw(
                         templates/Widgets/shop/incoming_data.tmpl
+                        templates/Widgets/shop/reserved_data.tmpl
                         templates/Widgets/pagination.tmpl
                         js/jquery/jquery.lj.pagination.js
                         js/jquery/shop/jquery.lj.shopIncoming.js
+                        js/jquery/shop/jquery.lj.tokensReserved.js
                         js/shop/tokens.js
                         ));
 

Modified: trunk/templates/Shop/Wallet.tmpl
===================================================================
--- trunk/templates/Shop/Wallet.tmpl	2012-08-21 14:13:44 UTC (rev 12511)
+++ trunk/templates/Shop/Wallet.tmpl	2012-08-21 15:19:31 UTC (rev 12512)
@@ -173,8 +173,8 @@
 		        		<tfoot class="b-tokens-reserved b-tokens-items">
 	        				<tr class="b-shop-tokens-total">
 		        				<td class="b-tokens-items-button"><input type="submit" value="<tmpl_var expr="ml('wallet.bml.reserved.takeoff')">" class="b-input-tokens-total" /><strong><tmpl_var expr="ml('wallet.bml.reserved.total')"></strong></td>
-			        			<td class="b-tokens-items-total"><tmpl_var total_blocked></td>
-				        		<td class="b-tokens-items-total"><tmpl_var total_balance></td>
+			        			<td class="b-tokens-items-total b-total-refunded"><tmpl_var total_blocked></td>
+				        		<td class="b-tokens-items-total b-total-amount"><tmpl_var total_balance></td>
 					        </tr>
 				        </tfoot>
 			        </table>

Tags: invis89, ljcom, pm, tmpl, vvasin
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