perazhog (perazhog) wrote in changelog,
perazhog
perazhog
changelog

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

Committer: egeraskin
LJSUP-12917: Add RESERVED and INCOMING tabs to user wallet page
U   trunk/templates/Shop/Wallet.tmpl
Modified: trunk/templates/Shop/Wallet.tmpl
===================================================================
--- trunk/templates/Shop/Wallet.tmpl	2012-07-17 07:13:20 UTC (rev 12295)
+++ trunk/templates/Shop/Wallet.tmpl	2012-07-17 07:31:05 UTC (rev 12296)
@@ -36,6 +36,20 @@
 				<TMPL_VAR expr="ml('wallet.bml.landing.tab.send')">
 			</a>
 		</li>
+		<li class="m-buy-types-item
+					<TMPL_IF tab_send_active> current</TMPL_IF>
+					">
+			<a href="<TMPL_VAR self_uri>?show=reserved">
+				<TMPL_VAR expr="ml('wallet.bml.landing.tab.reserved')">
+			</a>
+		</li>
+		<li class="m-buy-types-item
+					<TMPL_IF tab_send_active> current</TMPL_IF>
+					">
+			<a href="<TMPL_VAR self_uri>?show=incoming">
+				<TMPL_VAR expr="ml('wallet.bml.landing.tab.incoming')">
+			</a>
+		</li>
 		<TMPL_IF free_tokens_enabled>
 			<li class="m-buy-types-item last
 						<TMPL_IF tab_tokens_free> current</TMPL_IF>
@@ -111,6 +125,40 @@
 				</fieldset>
 			</form>
 		</li>
+		<TMPL_IF tab_reserved_active>
+			<li class="<TMPL_IF tab_send_active> current</TMPL_IF>">
+				<form action="" method="post" id="shop_reserved_token">
+					<table class="b-tokens-reserved b-tokens-items">
+						<tr>
+							<th>
+								<tmpl_var expr="ml('wallet.bml.reserved.subject')">
+								<p><tmpl_var expr="ml('wallet.bml.reserved.reservation')"></p>
+							</th>
+							<th>
+								<tmpl_var expr="ml('wallet.bml.reserved.blocked')">
+								<p><tmpl_var expr="ml('wallet.bml.reserved.tokens')"></p>
+							</th>
+							<th>
+								<tmpl_var expr="ml('wallet.bml.reserved.balance')">
+								<p><tmpl_var expr="ml('wallet.bml.reserved.tokens')"></p>
+							</th>
+						</tr>
+						<TMPL_LOOP accounts>
+							<tr>
+								<td class="b-tokens-items-subject"><input type="checkbox" /><tmpl_var desc></td>
+								<td class="b-tokens-items-amount"><tmpl_var blocked></td>
+								<td class="b-tokens-items-amount"><tmpl_var balance></td>
+							</tr>
+						</TMPL_LOOP>
+						<tr class="b-shop-tokens-total">
+							<td class="b-tokens-items-button"><input type="submit" value="<tmpl_var expr="ml('wallet.bml.reserved.takeoff')">" /> <strong><tmpl_var expr="ml('wallet.bml.reserved.total')"></strong></td>
+							<td class="b-tokens-items-amount"><tmpl_var total_blocked></td>
+							<td class="b-tokens-items-amount"><tmpl_var total_balance></td>
+						</tr>
+					</table>
+				</form>
+			</li>
+		</TMPL_IF>
 
 		<TMPL_IF free_tokens_enabled>
 			<li class="b-buy-goods-item
@@ -174,21 +222,7 @@
         </TMPL_LOOP>
 </TMPL_IF>
 
-<TMPL_IF tab_reserved_active>
-        <tmpl_var expr="ml('wallet.bml.reserved.subject')"> |
-        <tmpl_var expr="ml('wallet.bml.reserved.blocked')"> |
-        <tmpl_var expr="ml('wallet.bml.reserved.balance')">
-        <br>
-        <form>
-        <TMPL_LOOP accounts>
-        <input type="checkbox"> | <tmpl_var desc> | <tmpl_var blocked> | <tmpl_var balance> <br>
-        </TMPL_LOOP>
-        <tmpl_var expr="ml('wallet.bml.reserved.total')"> | <tmpl_var total_blocked> | <tmpl_var total_balance> <br>
-        <input type="submit" value="<tmpl_var expr="ml('wallet.bml.reserved.takeoff')">">
-        </form>
-</TMPL_IF>
 
-
 </TMPL_UNLESS>
 
 </div>

Tags: egeraskin, ljcom, perazhog, 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