added header phrase to login/register pricing modal

This commit is contained in:
Bachir Soussi Chiadmi 2021-07-07 11:21:04 +02:00
parent afa81b4a6f
commit 9e01ecb2b9
5 changed files with 16 additions and 7 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -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',

View File

@ -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'
}
)
},