]> _ Git - cubeextranet.git/commitdiff
wait #4696 @0.25
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 23 Sep 2021 10:18:43 +0000 (10:18 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 23 Sep 2021 10:18:43 +0000 (10:18 +0000)
inc/ws/Util/html5/master/class.ws.html5.links.php

index 89746b90a9248b967bea5f689358233b0d9fdfa1..2a5c295d95723e0abedba78ae4f221f3efd7964e 100644 (file)
@@ -1503,6 +1503,7 @@ class actionLink extends internalLink
 
 }
 
+
 class pumaCartLink extends cartLink
 {
     public function getInnerContent()
@@ -2137,6 +2138,51 @@ class Joueclub2021CartLink extends cartLink
     {
         return 'Ajouter à ma liste de cadeaux';
     }
+
+    public function getInnerContent()
+    {
+        return '<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+        viewBox="0 0 50 50" style="enable-background:new 0 0 50 50;" xml:space="preserve" width="50" height="50">
+<style type="text/css">
+       .st0{opacity:0.4;}
+       .st1{fill:#E20613;stroke:#F0EEEA;stroke-width:3.3;stroke-miterlimit:10;}
+       .st2{fill:none;stroke:#FFFFFF;stroke-width:3;stroke-miterlimit:10;}
+       .st3{fill:#FFFFFF;stroke:#E20613;stroke-width:2.2479;stroke-miterlimit:10;}
+       .st4{fill:none;stroke:#E20613;stroke-width:2.2479;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
+       .st10{fill:#999999;}
+       .st11{fill:#E20613;stroke:#F0EEEA;stroke-width:3.3;stroke-miterlimit:10;}
+       .st12{fill:#FFFFFF;}
+</style>
+<g class="on">
+    <circle class="st0" cx="26.5" cy="26.5" r="23.3"/>
+    <circle class="st1" cx="24.8" cy="24.8" r="22"/>
+    <g transform="matrix(2,0,0,2,0,0)">
+        <g>
+            <path class="st2" d="M17.5,9.8c-0.7-1.5-2.5-2-4-1.3C13.3,8.6,13,8.8,12.8,9l-0.4,0.4L12,9c-0.7-0.7-1.6-1-2.6-0.8
+                C8.5,8.4,7.7,9,7.3,9.8c-0.6,1.1-0.4,2.5,0.5,3.4l4.2,4.3c0.2,0.2,0.5,0.2,0.6,0l0,0l4.2-4.3C17.8,12.3,18.1,10.9,17.5,9.8z"/>
+        </g>
+    </g>
+    <circle class="st3" cx="33.2" cy="31.7" r="8.4"/>
+    <polyline class="st4" points="29.8,31.1 32.6,34 37,29.4 "/>
+</g>
+<g class="off">
+    <circle class="st10" cx="26.5" cy="26.5" r="23.3"/>
+    <circle class="st11" cx="24.8" cy="24.8" r="22"/>
+    <g transform="matrix(2,0,0,2,0,0)">
+        <g>
+            <path class="st12" d="M17.5,9.8c-0.7-1.5-2.5-2-4-1.3C13.3,8.6,13,8.8,12.8,9l-0.4,0.4L12,9c-0.7-0.7-1.6-1-2.6-0.8    C8.5,8.4,7.7,9,7.3,9.8c-0.6,1.1-0.4,2.5,0.5,3.4l4.2,4.3c0.2,0.2,0.5,0.2,0.6,0c0,0,0,0,0,0l4.2-4.3    C17.8,12.3,18.1,10.9,17.5,9.8z"/>
+        </g>
+    </g>
+</g>
+</svg>';
+    }
+
+    public function getAdditionnalContent()
+    {
+        $res = parent::getAdditionnalContent();
+        $res .= ' data-tooltip-conditional="' . htmlspecialchars(json_encode(['.active' => 'Retirer de ma liste de cadeaux'])) . '" ';
+        return $res;
+    }
 }