Merge pull request #458 from gradido/433-Bug-Attention-should-only-pop-up-once-per-session

attention! notice in send area removed
This commit is contained in:
Alexander Friedland 2021-05-19 11:16:13 +02:00 committed by GitHub
commit c22526c97e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 1 additions and 13 deletions

View File

@ -19,7 +19,6 @@
"en": "English"
},
"form": {
"attention": "<strong>Achtung!</strong> Bitte überprüfe alle deine Eingaben sehr genau. Du bist alleine Verantwortlich für deine Entscheidungen. Versendete Gradidos können nicht wieder zurück geholt werden.",
"cancel":"Abbrechen",
"reset": "Zurücksetzen",
"close":"schließen",

View File

@ -19,7 +19,6 @@
"en": "English"
},
"form": {
"attention": "Attention! Please check all your entries very carefully. You are solely responsible for your decisions. Sent Gradidos cannot be retrieved.",
"cancel":"Cancel",
"reset": "Reset",
"close":"Close",

View File

@ -1,6 +1,6 @@
<template>
<div>
<base-header class="pb-lg-4 pt-lg-2 bg-transparent"></base-header>
<base-header class="pb-md-4 pt-md-2 pb-lg-4 pt-lg-2 bg-transparent"></base-header>
<b-container fluid class="p-lg-2 mt-lg-5">
<gdd-status
v-if="showContext"

View File

@ -21,7 +21,6 @@
<b-badge variant="primary" pill>{{ $t('form.date') }}</b-badge>
</b-list-group-item>
</b-list-group>
<hr />
<b-row>
<b-col>
<b-button @click="$emit('on-reset')">{{ $t('form.cancel') }}</b-button>

View File

@ -35,12 +35,6 @@ describe('GddSend', () => {
expect(wrapper.find('div.transaction-form').exists()).toBeTruthy()
})
describe('warning messages', () => {
it('has a warning message', () => {
expect(wrapper.find('div.alert-default').find('span').text()).toBe('form.attention')
})
})
describe('transaction form', () => {
describe('email field', () => {
it('has an input field of type email', () => {

View File

@ -1,9 +1,6 @@
<template>
<b-row class="transaction-form">
<b-col xl="12" md="12">
<b-alert show dismissible variant="default" class="text-center">
<span class="alert-text h3 text-light" v-html="$t('form.attention')"></span>
</b-alert>
<b-card class="p-0 p-md-3" style="background-color: #ebebeba3 !important">
<!-- -<QrCode @set-transaction="setTransaction"></QrCode> -->
<validation-observer v-slot="{ handleSubmit }" ref="formValidator">