diff --git a/frontend/src/lib/components/ChildrenRegistration.svelte b/frontend/src/lib/components/ChildrenRegistration.svelte index 8758c4cc..30e00c68 100644 --- a/frontend/src/lib/components/ChildrenRegistration.svelte +++ b/frontend/src/lib/components/ChildrenRegistration.svelte @@ -59,7 +59,6 @@ { label: 'Abschließen', onclick: async () => { - console.log('build shit'); const childData = buildDataToSend(data); const required = buildRequired(data); const verified = await verifyInput(childData, required); diff --git a/frontend/src/lib/components/DataDisplay/GalleryDisplay.svelte b/frontend/src/lib/components/DataDisplay/GalleryDisplay.svelte index ee44582a..8be3fbf6 100644 --- a/frontend/src/lib/components/DataDisplay/GalleryDisplay.svelte +++ b/frontend/src/lib/components/DataDisplay/GalleryDisplay.svelte @@ -41,8 +41,6 @@ const index = data.indexOf(item); return componentProps[index]; }); - - $: console.log('data in gallery: ', data);
diff --git a/frontend/src/lib/components/DataInput/DataInput.svelte b/frontend/src/lib/components/DataInput/DataInput.svelte index fe9215ed..09edb483 100644 --- a/frontend/src/lib/components/DataInput/DataInput.svelte +++ b/frontend/src/lib/components/DataInput/DataInput.svelte @@ -8,7 +8,7 @@ // variables export let component: any; export let value: any; - export let label: string; + export let label: string | null = null; export let componentClass: string = ''; export let textTrigger: string = 'noAdditionalText'; export let showTextField: boolean = false; @@ -56,7 +56,7 @@ {#if label} - + {/if}
diff --git a/frontend/src/lib/components/UserForgotPassword.svelte b/frontend/src/lib/components/UserForgotPassword.svelte new file mode 100644 index 00000000..1e3ad5e0 --- /dev/null +++ b/frontend/src/lib/components/UserForgotPassword.svelte @@ -0,0 +1,95 @@ + + +{#if showAlert} + { + showAlert = false; + }} + /> +{/if} + + + {$_('forgotPw.heading')} + {#if showSuccess === false} +
+
+ +
+ +
+ +
+
+ {:else} +
+

{$_('forgotPw.mailSentMessage')}

+
+
+ +
+ {/if} +
diff --git a/frontend/src/locales/de.json b/frontend/src/locales/de.json index 07a001aa..c852a1ab 100644 --- a/frontend/src/locales/de.json +++ b/frontend/src/locales/de.json @@ -39,5 +39,16 @@ "help": "Förderhilfen", "image": "Bild", "images": "Bilder" + }, + "login": {}, + "forgotPw": { + "heading": "Passwort vergessen?", + "placeholder": "Bitte geben sie eine E-mail Adresse an um ihr Passwort zu erneuern", + "success": "Zurück zur Startseite", + "pending": "Absenden", + "alertTitle": "Fehler", + "formatError": "Die angegebene email Adresse hat ein falsches Format", + "mailSentMessage": "Bitte überprüfen sie ihr E-Mail Postfach", + "sendError": "Beim Senden der Daten ist ein Fehler aufgetreten. Bitte versuchen sie es erneut" } } diff --git a/frontend/src/routes/userLand/lostPassword/+page.svelte b/frontend/src/routes/userLand/lostPassword/+page.svelte index e69de29b..8e424da9 100644 --- a/frontend/src/routes/userLand/lostPassword/+page.svelte +++ b/frontend/src/routes/userLand/lostPassword/+page.svelte @@ -0,0 +1,5 @@ + + +