From c54706bfbc38a1624f23b16dcbeea5a3342713ea Mon Sep 17 00:00:00 2001 From: lesion Date: Thu, 10 Mar 2022 12:34:53 +0100 Subject: [PATCH] add an alert to specify user has to copy the admin password during setup --- locales/en.json | 1 + locales/it.json | 1 + pages/setup/Completed.vue | 5 +++-- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/locales/en.json b/locales/en.json index dc9379b7..6ebe3952 100644 --- a/locales/en.json +++ b/locales/en.json @@ -272,6 +272,7 @@ "setup": { "completed": "Setup completed", "completed_description": "

You can now login with the following user:

User: {email}
Password: {password}

", + "copy_password_dialog": "Yes, you have to copy the password!", "start": "Start" } } diff --git a/locales/it.json b/locales/it.json index 116224fb..357ce069 100644 --- a/locales/it.json +++ b/locales/it.json @@ -275,6 +275,7 @@ "setup": { "completed": "Setup completato", "completed_description": "

Puoi entrare con le seguenti credenziali:

Utente: {email}
Password: {password}

", + "copy_password_dialog": "Sì, devi copiare la password!", "start": "Inizia" } } diff --git a/pages/setup/Completed.vue b/pages/setup/Completed.vue index 0e01dadc..35e38379 100644 --- a/pages/setup/Completed.vue +++ b/pages/setup/Completed.vue @@ -2,17 +2,18 @@ v-container v-card-title.d-block.text-h5.text-center(v-text="$t('setup.completed')") v-card-text(v-html="$t('setup.completed_description', user)") + v-alert.mb-3.mt-1(outlined type='warning' color='red' show-icon :icon='mdiAlert') {{$t('setup.copy_password_dialog')}} v-card-actions v-btn(text @click='next' color='primary' :loading='loading' :disabled='loading') {{$t('setup.start')}} v-icon(v-text='mdiArrowRight')