perazhog (perazhog) wrote in changelog,
perazhog
perazhog
changelog

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

Committer: egeraskin
LJSUP-12917: Add RESERVED and INCOMING tabs to user wallet page
U   trunk/htdocs/stc/shop/shop.css
U   trunk/templates/Shop/Wallet.tmpl
Modified: trunk/htdocs/stc/shop/shop.css
===================================================================
--- trunk/htdocs/stc/shop/shop.css	2012-07-17 11:00:13 UTC (rev 12299)
+++ trunk/htdocs/stc/shop/shop.css	2012-07-17 11:04:51 UTC (rev 12300)
@@ -1071,7 +1071,7 @@
 .b-tokens-items {
 	width: 100%;
 	}
-	.b-tokens-items TR:nth-child(even) {
+	.b-tokens-items TR.odd {
 		background: #f4f4f4;
 		}
 	.b-tokens-items TR.b-shop-tokens-total {
@@ -1257,7 +1257,7 @@
 						.b-shop .b-wallet-tokens-select-500 LABEL I {
 							background-image: url(/img/shop/tokens-afew.png?v=9085);
 							}
-	.b-wallet-balance {
+	.b-shop .b-wallet-balance {
 		margin: 0 0 25px;
 		padding: 3px 0 5px 30px;
 		background: url(/img/shop/wallet-balance.png?v=1) no-repeat 0 0;

Modified: trunk/templates/Shop/Wallet.tmpl
===================================================================
--- trunk/templates/Shop/Wallet.tmpl	2012-07-17 11:00:13 UTC (rev 12299)
+++ trunk/templates/Shop/Wallet.tmpl	2012-07-17 11:04:51 UTC (rev 12300)
@@ -15,10 +15,10 @@
 	</div>
 </TMPL_IF>
 
-<p class="b-wallet-balance">
-        <TMPL_VAR expr="ml('wallet.bml.landing.text.balance', 'qty', balance)">
-        <TMPL_UNLESS wallet_ext_disabled><TMPL_VAR expr="ml('wallet.bml.landing.text.incoming', 'qty', incoming)"></TMPL_UNLESS>
-</p>
+<ul class="b-wallet-balance">
+        <li><TMPL_VAR expr="ml('wallet.bml.landing.text.balance', 'qty', balance)"></li>
+        <li><TMPL_UNLESS wallet_ext_disabled><TMPL_VAR expr="ml('wallet.bml.landing.text.incoming', 'qty', incoming)"></TMPL_UNLESS></li>
+</ul>
 
 <div class="b-buy">
 	<ul class="m-buy-types" id="mTabsShop">
@@ -144,7 +144,7 @@
 							</th>
 						</tr>
 						<TMPL_LOOP accounts>
-							<tr>
+							<tr <TMPL_IF __odd__> class="odd" </TMPL_IF>>
 								<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>
@@ -173,7 +173,7 @@
 								</th>
 							</tr>
 		      				<TMPL_LOOP blockings>
-								<tr>
+								<tr <TMPL_IF __odd__> class="odd" </TMPL_IF>>
 									<td><tmpl_var date></td>
 									<td><tmpl_var desc></td>
 									<td class="b-tokens-items-amount"><tmpl_var qty></td>

Tags: css, 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