Merge branch 'development' of https://github.com/PrestaShop/PrestaShop into bootstrap
Conflicts: admin-dev/themes/default/template/controllers/carrier_wizard/helpers/form/form_ranges.tpl admin-dev/themes/default/template/controllers/groups/helpers/view/view.tpl admin-dev/themes/default/template/controllers/import/helpers/form/form.tpl admin-dev/themes/default/template/controllers/modules/filters.tpl admin-dev/themes/default/template/controllers/modules/list.tpl admin-dev/themes/default/template/controllers/orders/form.tpl admin-dev/themes/default/template/helpers/form/form.tpl classes/Category.php classes/controller/AdminController.php controllers/admin/AdminAttributesGroupsController.php controllers/admin/AdminFeaturesController.php controllers/admin/AdminImportController.php controllers/admin/AdminLogsController.php install-dev/install_version.php install-dev/langs/ru/data/tab.xml js/admin_carrier_wizard.js modules/loyalty/loyalty.php
This commit is contained in:
@@ -398,8 +398,7 @@ var ajaxCart = {
|
||||
else
|
||||
{
|
||||
$('#vouchers tbody').html('');
|
||||
|
||||
for (i=0;i<jsonData.discounts.length;i++)
|
||||
for (i=0; i < jsonData.discounts.length; i++)
|
||||
{
|
||||
if (parseFloat(jsonData.discounts[i].price_float) > 0)
|
||||
{
|
||||
@@ -408,15 +407,14 @@ var ajaxCart = {
|
||||
delete_link = '<a class="delete_voucher" href="'+jsonData.discounts[i].link+'" title="'+delete_txt+'"><img src="'+img_dir+'icon/delete.gif" alt="'+delete_txt+'" class="icon" /></a>';
|
||||
$('#vouchers tbody').append($(
|
||||
'<tr class="bloc_cart_voucher" id="bloc_cart_voucher_'+jsonData.discounts[i].id+'">'
|
||||
+' <td class="quantity">1x</td>'
|
||||
+' <td class="name" title="'+jsonData.discounts[i].description+'">'+jsonData.discounts[i].name+'</td>'
|
||||
+' <td class="price">-'+jsonData.discounts[i].price+'</td>'
|
||||
+' <td class="delete">' + delete_link + '</td>'
|
||||
+'</tr>'
|
||||
+ '<td class="quantity">1x</td>'
|
||||
+ '<td class="name" title="'+jsonData.discounts[i].description+'">'+jsonData.discounts[i].name+'</td>'
|
||||
+ '<td class="price">-'+jsonData.discounts[i].price+'</td>'
|
||||
+ '<td class="delete">' + delete_link + '</td>'
|
||||
+ '</tr>'
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
$('#vouchers').show();
|
||||
}
|
||||
|
||||
@@ -708,18 +706,18 @@ $(document).ready(function(){
|
||||
function() {
|
||||
$(this).css('border-radius', '3px 3px 0px 0px');
|
||||
if (ajaxCart.nb_total_products > 0 || cart_qty > 0)
|
||||
$("#cart_block").stop(true, true).slideDown(450);
|
||||
$("#header_right #cart_block").stop(true, true).slideDown(450);
|
||||
},
|
||||
function() {
|
||||
$('#shopping_cart a').css('border-radius', '3px');
|
||||
setTimeout(function() {
|
||||
if (!shopping_cart.isHoveringOver() && !cart_block.isHoveringOver())
|
||||
$("#cart_block").stop(true, true).slideUp(450);
|
||||
$("#header_right #cart_block").stop(true, true).slideUp(450);
|
||||
}, 200);
|
||||
}
|
||||
);
|
||||
|
||||
$("#cart_block").hover(
|
||||
$("#header_right #cart_block").hover(
|
||||
function() {
|
||||
$('#shopping_cart a').css('border-radius', '3px 3px 0px 0px');
|
||||
},
|
||||
@@ -727,7 +725,7 @@ $(document).ready(function(){
|
||||
$('#shopping_cart a').css('border-radius', '3px');
|
||||
setTimeout(function() {
|
||||
if (!shopping_cart.isHoveringOver())
|
||||
$("#cart_block").stop(true, true).slideUp(450);
|
||||
$("#header_right #cart_block").stop(true, true).slideUp(450);
|
||||
}, 200);
|
||||
}
|
||||
);
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
#cart_block #cart_block_summary {display:none}
|
||||
#cart_block .quantity-formated {
|
||||
display:inline-block;
|
||||
margin-right:5px;
|
||||
padding-right:2px;
|
||||
min-width:18px;
|
||||
vertical-align: top;
|
||||
}
|
||||
@@ -62,7 +62,7 @@
|
||||
padding-bottom:10px
|
||||
}
|
||||
#cart_block #cart_block_list dt {padding:4px 0}
|
||||
#cart_block #cart_block_list dt a {font-weight:bold; display: inline-block; width: 95px}
|
||||
#cart_block #cart_block_list dt a {font-weight:bold; display: inline-block; max-width: 95px}
|
||||
#cart_block #cart_block_list dd {
|
||||
margin-left:20px
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user