Название вашего журнала (quwiero) wrote in changelog,
Название вашего журнала
quwiero
changelog

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

Committer: sboronchiev
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-08-22 10:51:38 UTC (rev 12518)
+++ trunk/htdocs/stc/shop/shop.css	2012-08-22 11:17:17 UTC (rev 12519)
@@ -1154,13 +1154,32 @@
 	float: right;
 	}
 
+.b-items-notfound {
+	display: none;
+	}
+.no-items .b-items-notfound {
+	display: block;
+	}
+.no-items .b-tokens-items {
+	display: none;
+	}
 .b-tokens-preloader-show {
 	min-height: 45px;
 	background: url(/img/preloader/spinner1.gif) no-repeat 50% 50%;
 	}
 	.b-tokens-preloader-show .b-tokens-items {
+		display: table;
 		visibility: hidden;
 		}
+	.b-tokens-preloader-show .b-items-notfound  {
+		display: none;
+		}
+	.b-items-notfound {
+		padding: 20px;
+		}
+	.b-disabled-row {
+		opacity: 0.5;
+		}
 
 /* Shop Intro
 ------------------------------------------------------------------------*/

Modified: trunk/templates/Shop/Wallet.tmpl
===================================================================
--- trunk/templates/Shop/Wallet.tmpl	2012-08-22 10:51:38 UTC (rev 12518)
+++ trunk/templates/Shop/Wallet.tmpl	2012-08-22 11:17:17 UTC (rev 12519)
@@ -153,8 +153,8 @@
 						<tbody class='b-reserved-data'>
 							<TMPL_IF tab_reserved_active>
 	    						<TMPL_LOOP accounts>
-	        						<tr <TMPL_IF __odd__> class="odd" </TMPL_IF>>
-		        						<td class="b-tokens-items-subject"><input type="checkbox" name="account_id" value="<TMPL_VAR id>" <TMPL_IF disabled>disabled</TMPL_IF> /><tmpl_var desc></td>
+	        						<tr class="<TMPL_IF disabled> b-disabled-row</TMPL_IF> <TMPL_IF __odd__> odd </TMPL_IF>">
+		        						<td class="b-tokens-items-subject"><input type="checkbox" name="account_id" value="<TMPL_VAR id>" <TMPL_IF disabled>disabled="disabled"</TMPL_IF> /><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>
@@ -178,9 +178,9 @@
 					        </tr>
 				        </tfoot>
 			        </table>
-					<span class="no-items">
+					<div class="b-items-notfound">
 						<tmpl_var expr="ml('wallet.bml.reserved.notfound')">
-					</span>
+					</div>
 		        </form>
 			</li>
 			<li data-pagesize="<TMPL_VAR pagesize>" class="b-buy-goods-item b-incoming-item <TMPL_IF tab_incoming_active>current</TMPL_IF> <TMPL_UNLESS blockings>no-items</TMPL_UNLESS>">
@@ -222,9 +222,9 @@
 							</tr>
 				        </tfoot>
 					</table>
-					<span class="no-items">
+					<div class="b-items-notfound">
 						<tmpl_var expr="ml('wallet.bml.incoming.notfound')">
-					</span>
+					</div>
 				</form>
 			</li>
 		</TMPL_UNLESS>

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