minor
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<template lang='pug'>
|
<template lang='pug'>
|
||||||
el-dialog(:visible='show' @close='close'
|
el-dialog(:visible='show' @close='close' :close-on-click-modal='false'
|
||||||
append-to-body :title="$t('common.login')")
|
append-to-body :title="$t('common.login')")
|
||||||
|
|
||||||
p(v-html="$t('login.description')")
|
p(v-html="$t('login.description')")
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template lang='pug'>
|
<template lang='pug'>
|
||||||
el-dialog(:visible='show' @close='close'
|
el-dialog(:visible='show' @close='close' :close-on-click-modal='false'
|
||||||
append-to-body :title="$t('common.register')")
|
append-to-body :title="$t('common.register')")
|
||||||
|
|
||||||
p(v-html="$t('register.description')")
|
p(v-html="$t('register.description')")
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
el-input.mb-2(v-model='user.description' type="textarea" rows='3' :placeholder="$t('common.description')")
|
el-input.mb-2(v-model='user.description' type="textarea" rows='3' :placeholder="$t('common.description')")
|
||||||
|
|
||||||
span(slot='footer')
|
span(slot='footer')
|
||||||
el-button(plain type="success" :disabled='disabled' @click='register') {{$t('common.send')}} <v-icon :name='loading?"circle-notch":"chevron-right"' :spin='loading'/>
|
el-button(plain type="success" :disabled='disabled' @click='register') {{$t('common.send')}} <v-icon name='chevron-right'/>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -5,11 +5,11 @@
|
|||||||
},
|
},
|
||||||
"confirm": {
|
"confirm": {
|
||||||
"subject": "Puoi iniziare a pubblicare eventi",
|
"subject": "Puoi iniziare a pubblicare eventi",
|
||||||
"content": "Ciao, il tuo account su <a href='{{config.baseurl}}'>{{config.title}}</a> è stato creato."
|
"content": "Ciao, il tuo account su <a href='{{config.baseurl}}'>{{config.title}}</a> è stato confermato. Scrivici a {{config.admin}} per qualsiasi informazione e fai a modino."
|
||||||
},
|
},
|
||||||
"user_confirm": {
|
"user_confirm": {
|
||||||
"subject": "Puoi iniziare a pubblicare eventi",
|
"subject": "Puoi iniziare a pubblicare eventi",
|
||||||
"content": "Ciao, il tuo account su <a href='{{config.baseurl}}'>{{config.title}}</a> è stato creato. <a href='{{config.baseurl}}/user_confirm/{{user.recover_code}}'>Confermalo</a>."
|
"content": "Ciao, il tuo account su <a href='{{config.baseurl}}'>{{config.title}}</a> è stato creato. <a href='{{config.baseurl}}/user_confirm/{{user.recover_code}}'>Confermalo e scegli una password</a>."
|
||||||
},
|
},
|
||||||
"recover": {
|
"recover": {
|
||||||
"subject": "Recupero password",
|
"subject": "Recupero password",
|
||||||
|
|||||||
@@ -179,7 +179,7 @@ Adding this link to your feed reader will keep you up to date.`,
|
|||||||
confirm: {
|
confirm: {
|
||||||
title: 'User confirmation',
|
title: 'User confirmation',
|
||||||
not_valid: 'Mmmmm something goes wrong.',
|
not_valid: 'Mmmmm something goes wrong.',
|
||||||
valid: 'Your account is confirmed, you can <a href="/login">log in</a>.'
|
valid: 'Your account is confirmed, you can <a href="/?ref=login">log in</a>.'
|
||||||
},
|
},
|
||||||
|
|
||||||
ordinal: {
|
ordinal: {
|
||||||
|
|||||||
@@ -184,7 +184,7 @@ export default {
|
|||||||
confirm: {
|
confirm: {
|
||||||
title: 'Conferma utente',
|
title: 'Conferma utente',
|
||||||
not_valid: 'Mmmmm qualcosa è andato storto.',
|
not_valid: 'Mmmmm qualcosa è andato storto.',
|
||||||
valid: 'Il tuo account è stato confermato, ora puoi <a href="/login">entrare</a>'
|
valid: 'Il tuo account è stato confermato, ora puoi <a href="/?ref=login">entrare</a>'
|
||||||
},
|
},
|
||||||
|
|
||||||
ordinal: {
|
ordinal: {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template lang="pug">
|
<template lang="pug">
|
||||||
el-dialog(:visible='true' @close="$router.push('/')")
|
el-dialog(:visible='true' @close="$router.push('/')" :close-on-click-modal='false')
|
||||||
template(slot='title')
|
template(slot='title')
|
||||||
h4 <nuxt-link to='/'><img src='/favicon.ico'/></nuxt-link> {{$t('common.recover_password')}}
|
h4 <nuxt-link to='/'><img src='/favicon.ico'/></nuxt-link> {{$t('common.recover_password')}}
|
||||||
div(v-if='valid')
|
div(v-if='valid')
|
||||||
@@ -35,7 +35,7 @@ export default {
|
|||||||
type: 'success',
|
type: 'success',
|
||||||
message: this.$t('common.password_updated')
|
message: this.$t('common.password_updated')
|
||||||
})
|
})
|
||||||
this.$router.replace('/login')
|
this.$router.replace('/?ref=login')
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
Message({
|
Message({
|
||||||
showClose: true,
|
showClose: true,
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
<template lang="pug">
|
<template lang="pug">
|
||||||
el-card
|
el-main
|
||||||
nuxt-link.float-right(to='/')
|
h4 <nuxt-link to='/'><img src='/favicon.ico'/></nuxt-link> {{$t('common.set_password')}}
|
||||||
el-button(circle icon='el-icon-close' type='danger' size='small' plain)
|
|
||||||
|
|
||||||
h5 <img src='/favicon.ico'/> {{$t('common.set_password')}}
|
|
||||||
div(v-if='valid')
|
div(v-if='valid')
|
||||||
el-form
|
el-form
|
||||||
el-form-item {{$t('common.new_password')}}
|
el-form-item {{$t('common.new_password')}}
|
||||||
@@ -40,7 +38,7 @@ export default {
|
|||||||
type: 'success',
|
type: 'success',
|
||||||
message: this.$t('common.password_updated')
|
message: this.$t('common.password_updated')
|
||||||
})
|
})
|
||||||
this.$router.replace('/login')
|
this.$router.replace('/?ref=login')
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
Message({
|
Message({
|
||||||
showClose: true,
|
showClose: true,
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ export default {
|
|||||||
type: 'success',
|
type: 'success',
|
||||||
message: this.$t('common.password_updated')
|
message: this.$t('common.password_updated')
|
||||||
})
|
})
|
||||||
this.$router.replace('/login')
|
this.$router.replace('/?ref=login')
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
Message({
|
Message({
|
||||||
showClose: true,
|
showClose: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user