From 53408f4bf4c8a6fa4873b68eac1a9dd089e7b5f2 Mon Sep 17 00:00:00 2001 From: Brent Vardy Date: Sat, 7 Sep 2019 13:09:10 +0100 Subject: [PATCH] refactor create-user-account to have no header - also added locale switch to card --- .../Registration/CreateUserAccount.vue | 35 +++++++++++++------ webapp/pages/registration.vue | 2 +- 2 files changed, 25 insertions(+), 12 deletions(-) diff --git a/webapp/components/Registration/CreateUserAccount.vue b/webapp/components/Registration/CreateUserAccount.vue index 9e4d899e7..532b3d91a 100644 --- a/webapp/components/Registration/CreateUserAccount.vue +++ b/webapp/components/Registration/CreateUserAccount.vue @@ -3,9 +3,11 @@ - - {{ $t('registration.create-user-account.success') }} - + {{ $t('registration.create-user-account.success') }} @@ -88,11 +88,13 @@ import { SweetalertIcon } from 'vue-sweetalert-icons' import PasswordForm from '~/components/utils/PasswordFormHelper' import { VERSION } from '~/constants/terms-and-conditions-version.js' import { SignupVerificationMutation } from '~/graphql/Registration.js' +import LocaleSwitch from '~/components/LocaleSwitch/LocaleSwitch' export default { components: { PasswordStrength, SweetalertIcon, + LocaleSwitch, }, data() { const passwordForm = PasswordForm({ translate: this.$t }) @@ -151,3 +153,14 @@ export default { }, } + + diff --git a/webapp/pages/registration.vue b/webapp/pages/registration.vue index 08ca0a682..7c7f03975 100644 --- a/webapp/pages/registration.vue +++ b/webapp/pages/registration.vue @@ -4,7 +4,7 @@