minor with setup
This commit is contained in:
@@ -1,8 +1,7 @@
|
|||||||
<template lang="pug">
|
<template lang="pug">
|
||||||
v-container
|
v-container
|
||||||
v-card-title.d-block.text-h5.text-center(v-text="$t('setup.completed')")
|
v-card-title.d-block.text-h5.text-center(v-text="$t('setup.completed')")
|
||||||
v-card-text
|
v-card-text(v-html="$t('setup.completed_description', user)")
|
||||||
p(v-html="$t('setup.completed_description', user)")
|
|
||||||
v-card-actions
|
v-card-actions
|
||||||
v-btn(text @click='next' color='primary' :loading='loading' :disabled='loading') {{$t('setup.start')}}
|
v-btn(text @click='next' color='primary' :loading='loading' :disabled='loading') {{$t('setup.start')}}
|
||||||
v-icon mdi-arrow-right
|
v-icon mdi-arrow-right
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ import Completed from './Completed'
|
|||||||
export default {
|
export default {
|
||||||
components: { DbStep, Settings, Completed },
|
components: { DbStep, Settings, Completed },
|
||||||
middleware: 'setup',
|
middleware: 'setup',
|
||||||
layout: 'iframe',
|
layout: 'clean',
|
||||||
head: {
|
head: {
|
||||||
title: 'Setup',
|
title: 'Setup',
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ const mail = {
|
|||||||
TaskManager.add(task)
|
TaskManager.add(task)
|
||||||
},
|
},
|
||||||
|
|
||||||
_send (addresses, template, locals, locale) {
|
_send (addresses, template, locals, locale = settingsController.settings.instance_locale) {
|
||||||
const settings = settingsController.settings
|
const settings = settingsController.settings
|
||||||
log.info(`Send ${template} email to ${addresses} with locale ${locale}`)
|
log.info(`Send ${template} email to ${addresses} with locale ${locale}`)
|
||||||
const email = new Email({
|
const email = new Email({
|
||||||
|
|||||||
Reference in New Issue
Block a user