]> _ Git - fluidbook-html5.git/commitdiff
wip #4047 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 13 Nov 2020 16:47:52 +0000 (17:47 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 13 Nov 2020 16:47:52 +0000 (17:47 +0100)
js/libs/fluidbook/cart/fluidbook.cart.mif.js

index 7c059865ffc205eaeaf1a1a4d1d734ad71a8e9ae..d0ab9b53377f01cece910ab4f449d4f5c566ac26 100644 (file)
@@ -67,14 +67,14 @@ FluidbookCartMIF.prototype = {
     },
 
     openCart: function (p2, callback) {
-        this._endMenu('my cart', this.getCartContent(), function () {
+        this._endMenu('Ma liste', this.getCartContent(), function () {
             callback();
         });
     },
 
     getCartContent: function () {
         if (this.getItemsNumbers() == 0) {
-            return '<div class="cart-empty">' + this.fluidbook.l10n.__('your cart is empty') + '</div>';
+            return '<div class="cart-empty">Votre liste est vide</div>';
         }
 
         var $this = this;
@@ -96,7 +96,7 @@ FluidbookCartMIF.prototype = {
             content += '<tr data-pseudolink-href="' + item.Lien + '" data-pseudolink-target="_blank">';
             content += '<td class="categorie"><span>' + item.Categorie + '</span></td>';
             content += '<td class="marque"><span>' + item.Marque + '</span></td>';
-            content += '<td class="produit"><span>' + item.Produit + '</span></td>';
+            content += '<td class="produit"><span style="text-decoration: underline">' + item.Produit + '</span></td>';
             content += '<td class="prix"><span>' + item.Prix + '</span></td>';
             var image = '';
             if (item['zoom_image']) {