add confirm checkboc No Comercial account

This commit is contained in:
ogerly 2019-12-03 17:57:30 +01:00
parent cab2ce0229
commit 38c58af1f3
3 changed files with 11 additions and 1 deletions

View File

@ -88,12 +88,19 @@
v-html="$t('components.registration.signup.form.minimum-age')"
></label>
</ds-text>
<ds-text>
<input id="checkbox3" type="checkbox" v-model="noCommercial" :checked="noCommercial" />
<label
for="checkbox3"
v-html="$t('components.registration.signup.form.no-commercial')"
></label>
</ds-text>
<ds-button
style="float: right;"
icon="check"
type="submit"
:loading="$apollo.loading"
:disabled="errors || !termsAndConditionsConfirmed || !dataPrivacy || !minimumAge"
:disabled="errors || !termsAndConditionsConfirmed || !dataPrivacy || !minimumAge || !noCommercial"
primary
>
{{ $t('actions.save') }}
@ -145,6 +152,7 @@ export default {
termsAndConditionsConfirmed: false,
dataPrivacy: false,
minimumAge: false,
minimumAge: false,
}
},
props: {

View File

@ -495,6 +495,7 @@
"terms-and-condition": "Ich stimme den <a href=\"\/terms-and-conditions\"><ds-text bold color=\"primary\" > Nutzungsbedingungen<\/ds-text><\/a>zu.",
"data-privacy": "Ich habe die <a href=\"https:\/\/human-connection.org\/datenschutz\/\" target=\"_blank\"><ds-text bold color=\"primary\" >Datenschutzerklärung<\/ds-text><\/a> gelesen und verstanden",
"minimum-age": "Ich bin 18 Jahre oder älter.",
"no-commercial": "Ich habe keine kommerziellen Absichten und ich representiere kein kommerzielles Unternehmen oder Organisation.",
"invitation-code": "Dein Einladungscode lautet: <b>{code}<\/b>",
"errors": {
"email-exists": "Es gibt schon ein Benutzerkonto mit dieser E-Mail Adresse!",

View File

@ -34,6 +34,7 @@
"terms-and-condition": "I confirm to the <a href=\"/terms-and-conditions\"><ds-text bold color=\"primary\" > Terms and conditions</ds-text></a>.",
"data-privacy": " I have read and understood the <a href=\"https://human-connection.org/datenschutz/\" target=\"_blank\"><ds-text bold color=\"primary\" >Privacy Statement</ds-text></a> ",
"minimum-age": "I'm 18 years or older.",
"no-commercial": "I have no commercial interests and I am not representing a company or any other commercial organisation on the network",
"invitation-code": "Your invitation code is: <b>{code}</b>",
"errors": {
"email-exists": "There is already a user account with this e-mail address!",