From 5e70154f7a8532c58536c608ce07d67b84524d35 Mon Sep 17 00:00:00 2001 From: bach Date: Wed, 4 Aug 2021 18:37:12 +0200 Subject: [PATCH] fixed ask for a quote btn on pricing page --- .../assets/dist/module-pricing.bundle.js | 2 +- .../assets/dist/module-pricing.bundle.js.gz | Bin 990 -> 990 bytes .../custom/materiotheme/assets/dist/report.html | 2 +- .../vuejs/components/Content/Product.vue | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web/themes/custom/materiotheme/assets/dist/module-pricing.bundle.js b/web/themes/custom/materiotheme/assets/dist/module-pricing.bundle.js index c350a894..5ab57b33 100644 --- a/web/themes/custom/materiotheme/assets/dist/module-pricing.bundle.js +++ b/web/themes/custom/materiotheme/assets/dist/module-pricing.bundle.js @@ -1 +1 @@ -(self.webpackChunkmaterio_com=self.webpackChunkmaterio_com||[]).push([[665],{1003:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>v});var r=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{attrs:{id:"pricing"}},[t.products.length?t._l(t.products,(function(t){return s("Product",{key:t.uuid,attrs:{product:t}})})):s("div",{staticClass:"loading"},[s("span",[t._v(t._s(t.$t("default.Loading…")))])])],2)};r._withStripped=!0;var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("article",{staticClass:"product"},[s("header",[s("h1",{domProps:{innerHTML:t._s(t.product.title)}})]),t._v(" "),s("section",{staticClass:"content"},[s("div",{staticClass:"description",domProps:{innerHTML:t._s(t.product.body)}})]),t._v(" "),t.isAdherent?t._e():s("aside",[t._l(t.product.variations,(function(e){return s("div",{key:e.id,staticClass:"variation"},[s("div",{staticClass:"variation-description",domProps:{innerHTML:t._s(e.description)}}),t._v(" "),s("div",{staticClass:"actions"},[s("button",{attrs:{type:"button",name:"addtocart"},on:{click:function(s){return s.stopPropagation(),t.checkaddtocart(s,e.id)}}},[t._v("\n "+t._s(t.$t("default."+t.variation_btn_txt[e.id]))+"\n ")])])])})),t._v(" "),4==t.product.id?s("div",[s("a",{staticClass:"btn",attrs:{href:"/pricing/multijoueur"}},[t._v("\n "+t._s(t.$t("default.Ask for a quote"))+"\n ")])]):t._e()],2)])};i._withStripped=!0;var o=s(4408),n=s(1423);const a={name:"Product",router:o.Z,props:["product"],mixins:[n.Z],data:()=>({quantity:1,variation_btn_txt:{1:"Yeees!",2:"Yay!",3:"Great!",4:"OKAY!"}}),created(){this.product}};var c=s(1900),d=(0,c.Z)(a,i,[],!1,null,"0f9e2147",null);d.options.__file="web/themes/custom/materiotheme/vuejs/components/Content/Product.vue";const u=d.exports;var p=s(629);const l={name:"Pricing",computed:{...(0,p.rn)({products:t=>t.Pages.products})},created(){this.products.length||this.getProducts()},methods:{...(0,p.nv)({getProducts:"Pages/getProducts"})},components:{Product:u}};var _=(0,c.Z)(l,r,[],!1,null,"bdd44e2e",null);_.options.__file="web/themes/custom/materiotheme/vuejs/components/Pages/Pricing.vue";const v=_.exports}}]); \ No newline at end of file +(self.webpackChunkmaterio_com=self.webpackChunkmaterio_com||[]).push([[665],{1003:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>v});var r=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{attrs:{id:"pricing"}},[t.products.length?t._l(t.products,(function(t){return s("Product",{key:t.uuid,attrs:{product:t}})})):s("div",{staticClass:"loading"},[s("span",[t._v(t._s(t.$t("default.Loading…")))])])],2)};r._withStripped=!0;var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("article",{staticClass:"product"},[s("header",[s("h1",{domProps:{innerHTML:t._s(t.product.title)}})]),t._v(" "),s("section",{staticClass:"content"},[s("div",{staticClass:"description",domProps:{innerHTML:t._s(t.product.body)}})]),t._v(" "),t.isAdherent?t._e():s("aside",[t._l(t.product.variations,(function(e){return s("div",{key:e.id,staticClass:"variation"},[s("div",{staticClass:"variation-description",domProps:{innerHTML:t._s(e.description)}}),t._v(" "),s("div",{staticClass:"actions"},[s("button",{attrs:{type:"button",name:"addtocart"},on:{click:function(s){return s.stopPropagation(),t.checkaddtocart(s,e.id)}}},[t._v("\n "+t._s(t.$t("default."+t.variation_btn_txt[e.id]))+"\n ")])])])})),t._v(" "),3==t.product.id?s("div",[s("a",{staticClass:"btn",attrs:{href:"/pricing/multijoueur"}},[t._v("\n "+t._s(t.$t("default.Ask for a quote"))+"\n ")])]):t._e()],2)])};i._withStripped=!0;var o=s(4408),n=s(1423);const a={name:"Product",router:o.Z,props:["product"],mixins:[n.Z],data:()=>({quantity:1,variation_btn_txt:{1:"Yeees!",2:"Yay!",3:"Great!",4:"OKAY!"}}),created(){this.product}};var c=s(1900),d=(0,c.Z)(a,i,[],!1,null,"0f9e2147",null);d.options.__file="web/themes/custom/materiotheme/vuejs/components/Content/Product.vue";const u=d.exports;var p=s(629);const l={name:"Pricing",computed:{...(0,p.rn)({products:t=>t.Pages.products})},created(){this.products.length||this.getProducts()},methods:{...(0,p.nv)({getProducts:"Pages/getProducts"})},components:{Product:u}};var _=(0,c.Z)(l,r,[],!1,null,"bdd44e2e",null);_.options.__file="web/themes/custom/materiotheme/vuejs/components/Pages/Pricing.vue";const v=_.exports}}]); \ No newline at end of file diff --git a/web/themes/custom/materiotheme/assets/dist/module-pricing.bundle.js.gz b/web/themes/custom/materiotheme/assets/dist/module-pricing.bundle.js.gz index 1e9ded58ed298b600eca664a0014a63cff953c3e..79413d3408570d12e38fee0a9f03e4ea3633753f 100644 GIT binary patch delta 418 zcmV;T0bTyy2i^y;M*@GBaeTZ%t==AZsq2?7>A};dE3ln33TIF~eGbf5RZ~Y=qrV=FC{uAXVky6; zkz|_97wlrpOp#@bjF#6h8Bf0>&3`&m+&235JV};1gP7n`Gz=>oWqz0zD7wwCdypFA za9h9!+_9V78ti{-KfG;c$?)#b#|4m%z9Lo}o^tDgZvf^9@M>~>U^hFm+rA&HJ{I{^ zqU4-o2|0I$Mu+k5MTp-7ekUKHFWuvV@C8;5572(!SRWyD5PgI(8we|_{4tZ+Vx|)( zgjFXRo|s6JtS?=Z-G(T-8%TQIGv=Q0{-D%!3KKZ+p8OhT-dl7Xb*HRvR&Niy)b-1k^x)~_(9tUgOF@R+C>%M5 z{w($zzaA{D8_2=O!UiCxfLpktRbAcLh79ojcVq7`!3i?3BE)Y3zmt#9m+tXF_yQ}32WY=Vg$W#ZPyQM+?=8BHx>MG-adKe2supzi M57G}UpMMAd01;Qp2><{9 diff --git a/web/themes/custom/materiotheme/assets/dist/report.html b/web/themes/custom/materiotheme/assets/dist/report.html index 701fcba8..c13f892b 100644 --- a/web/themes/custom/materiotheme/assets/dist/report.html +++ b/web/themes/custom/materiotheme/assets/dist/report.html @@ -3,7 +3,7 @@ - materio.com [4 Aug 2021 at 16:24] + materio.com [4 Aug 2021 at 16:35]