From: Vincent Vanwaelscappel Date: Fri, 5 Mar 2021 17:03:08 +0000 (+0100) Subject: wip #4321 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=72f0bacc5833768626f71771bb84c25759009347;p=fluidbook-html5.git wip #4321 @0.5 --- diff --git a/images/symbols/grandvision.svg b/images/symbols/grandvision.svg index 9f611e57..ddff1aa0 100644 --- a/images/symbols/grandvision.svg +++ b/images/symbols/grandvision.svg @@ -53,4 +53,25 @@ s0.3-0.68,0.68-0.68h4.45c0.92,0,1.68,0.75,1.68,1.68v6.5C16.34,8.89,16.04,9.2,15.67,9.2z"/> + + + + + + \ No newline at end of file diff --git a/js/libs/fluidbook/cart/fluidbook.cart.grandvision.js b/js/libs/fluidbook/cart/fluidbook.cart.grandvision.js index 7101306e..f2efe935 100644 --- a/js/libs/fluidbook/cart/fluidbook.cart.grandvision.js +++ b/js/libs/fluidbook/cart/fluidbook.cart.grandvision.js @@ -171,7 +171,7 @@ FluidbookCartGrandVision.prototype = { var element = $(c).get(0); var options = { margin: 0, - filename: this.getExportFileName() +'s.pdf', + filename: this.getExportFileName() + 's.pdf', image: {type: 'png'}, html2canvas: {dpi: 150, scale: 2.5, letterRendering: false}, jsPDF: {unit: 'mm', format: 'A4', orientation: 'portrait'} @@ -484,6 +484,14 @@ FluidbookCartGrandVision.prototype = { } selection = '
'; + selection += '
'; + if (data.ADV === '1') { + selection += '
' + getSpriteIcon('grandvision-adv') + '
'; + } + if (data.Mandatory === '1') { + selection += '
' + getSpriteIcon('grandvision-mandatory') + '
'; + } + selection += '
'; selection += '
'; selection += '
'; selection += '

' + data['Model Code'] + '

';