From c5ec22a6f250c735af56d32695b42749da4c1dfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20Hu=C3=9F?= Date: Wed, 14 Jun 2023 12:08:36 +0200 Subject: [PATCH 01/18] Change registration 'term and conditions', 'data privacy' link to use 'PageParamsLink' that external pages can be used --- .../Registration/RegistrationSlideCreate.vue | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/webapp/components/Registration/RegistrationSlideCreate.vue b/webapp/components/Registration/RegistrationSlideCreate.vue index 0906fc8a4..7bccfa28e 100644 --- a/webapp/components/Registration/RegistrationSlideCreate.vue +++ b/webapp/components/Registration/RegistrationSlideCreate.vue @@ -89,13 +89,13 @@ @@ -123,20 +123,22 @@ import { VERSION } from '~/constants/terms-and-conditions-version.js' import links from '~/constants/links' import emails from '~/constants/emails' +import { SignupVerificationMutation } from '~/graphql/Registration.js' +import { SweetalertIcon } from 'vue-sweetalert-icons' import PasswordStrength from '~/components/Password/Strength' import EmailDisplayAndVerify from './EmailDisplayAndVerify' -import { SweetalertIcon } from 'vue-sweetalert-icons' +import PageParamsLink from '~/components/_new/features/PageParamsLink/PageParamsLink' import PasswordForm from '~/components/utils/PasswordFormHelper' -import { SignupVerificationMutation } from '~/graphql/Registration.js' import ShowPassword from '../ShowPassword/ShowPassword.vue' export default { name: 'RegistrationSlideCreate', components: { - PasswordStrength, EmailDisplayAndVerify, - SweetalertIcon, + PageParamsLink, + PasswordStrength, ShowPassword, + SweetalertIcon, }, props: { sliderData: { type: Object, required: true }, From 53d3a921bf2ba969cd4e0470d5335f1f44124f54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20Hu=C3=9F?= Date: Wed, 14 Jun 2023 13:20:56 +0200 Subject: [PATCH 02/18] Force target '_blank' in registration 'terms and conditions', 'data privacy' links by 'PageParamsLink' --- .../Registration/RegistrationSlideCreate.vue | 4 ++-- .../_new/features/PageParamsLink/PageParamsLink.vue | 11 ++++++++--- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/webapp/components/Registration/RegistrationSlideCreate.vue b/webapp/components/Registration/RegistrationSlideCreate.vue index 7bccfa28e..182a54829 100644 --- a/webapp/components/Registration/RegistrationSlideCreate.vue +++ b/webapp/components/Registration/RegistrationSlideCreate.vue @@ -89,11 +89,11 @@ diff --git a/webapp/components/_new/features/PageParamsLink/PageParamsLink.vue b/webapp/components/_new/features/PageParamsLink/PageParamsLink.vue index 391c4722e..d62d22a59 100644 --- a/webapp/components/_new/features/PageParamsLink/PageParamsLink.vue +++ b/webapp/components/_new/features/PageParamsLink/PageParamsLink.vue @@ -1,6 +1,6 @@