Browse Source

added header phrase to login/register pricing modal

bach 2 years ago
parent
commit
9e01ecb2b9

File diff suppressed because it is too large
+ 0 - 0
web/themes/custom/materiotheme/assets/dist/main.js


BIN
web/themes/custom/materiotheme/assets/dist/main.js.gz


File diff suppressed because it is too large
+ 1 - 1
web/themes/custom/materiotheme/assets/dist/report.html


+ 10 - 2
web/themes/custom/materiotheme/vuejs/components/Helper/LoginRegister.vue

@@ -1,6 +1,6 @@
 <template>
   <div id="login-register">
-    <h2>{{ $t("materio.Please login or create a new account") }}</h2>
+    <h2>{{ $t(header) }}</h2>
     <div class="wrapper">
       <section class="login">
         <h3>{{ $t("default.Login") }} </h3>
@@ -27,7 +27,15 @@ export default {
     password:null,
     registerEmail:null
   }),
-  props:['callbackargs', 'onLogedInBack', 'onRegisteredBack'],
+  props:{
+    header: {
+      type: String,
+      default: 'materio.Please login or create a new account'
+    }, 
+    callbackargs: Object, 
+    onLogedInBack: Function, 
+    onRegisteredBack: Function
+  },
   methods: {
     ...mapActions({
       userLogin: 'User/userLogin',

+ 3 - 2
web/themes/custom/materiotheme/vuejs/components/productsMixins.js

@@ -40,6 +40,7 @@ export default {
         // props
         {
           // item: this.item,
+          header: 'materio.In order to be able to place your order, please log in or create your account',
           callbackargs: { variation_id: variation_id },
           // close: (variation_id) => { this.closeModal(variation_id) },
           onLogedInBack: (cba) => { this.onLogedIn(cba.variation_id) },
@@ -59,8 +60,8 @@ export default {
           name: 'modal-loginregister',
           draggable: false,
           classes: 'vm--modale-loginregister',
-          width: '500px',
-          height: '350px'
+          width: '550px',
+          height: '400px'
         }
       )
     },

Some files were not shown because too many files changed in this diff