Testzugang: Freemail nicht mehr blockieren, nur Hinweis anzeigen
Alle plausiblen E-Mail-Adressen werden jetzt akzeptiert. Bei einer Freemail-Adresse erscheint weiterhin der Hinweis, dass fuer einen Testzugang ausschliesslich dienstliche Adressen von Behoerden oder Unternehmen beruecksichtigt werden, aber die Anfrage wird nicht mehr abgewiesen. Hinweis wird als tf-note-warn (Hinweis) statt tf-note-error (Fehler) dargestellt, kein aria-invalid mehr. Texte de/en und Modal-Subline entsprechend als Hinweis formuliert. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Dieser Commit ist enthalten in:
@@ -316,6 +316,7 @@ a { color:inherit; text-decoration:none; }
|
||||
.tf-note { display:block; font-size:0.85rem; margin-top:6px; line-height:1.5; }
|
||||
.tf-note-error { color:#C0392B; }
|
||||
.tf-note-ok { color:#1E7A44; }
|
||||
.tf-note-warn { color:#8A6D1B; }
|
||||
.tf-hint { font-size:0.82rem; color:var(--text-light); margin-left:5px; font-weight:400; text-transform:none; letter-spacing:0; white-space:nowrap; }
|
||||
/* Kompakte Zeilenhoehe fuer mehrzeilige Labels; Felder einer Reihe per align-items:end buendig */
|
||||
#trial-form .form-row label { line-height:1.35; }
|
||||
|
||||
@@ -748,7 +748,7 @@
|
||||
<div class="modal-content">
|
||||
<button class="modal-close" onclick="closeContactModal()" aria-label="Close">×</button>
|
||||
<h2>Request trial access</h2>
|
||||
<p class="modal-sub">Test the Monitor for one week with the full feature set, free of charge and without obligation. Trial access is available only with an official email address from a public authority or a company.</p>
|
||||
<p class="modal-sub">Test the Monitor for one week with the full feature set, free of charge and without obligation. For trial access we only consider official email addresses from public authorities or companies.</p>
|
||||
|
||||
<div class="tf-error" id="tf-error" role="alert"></div>
|
||||
|
||||
|
||||
@@ -749,7 +749,7 @@
|
||||
<div class="modal-content">
|
||||
<button class="modal-close" onclick="closeContactModal()">×</button>
|
||||
<h2>Testzugang anfragen</h2>
|
||||
<p class="modal-sub">Eine Woche lang mit vollem Funktionsumfang testen, kostenfrei und ohne Verpflichtung. Ein Testzugang ist ausschließlich mit einer dienstlichen E-Mail-Adresse einer Behörde oder eines Unternehmens möglich.</p>
|
||||
<p class="modal-sub">Eine Woche lang mit vollem Funktionsumfang testen, kostenfrei und ohne Verpflichtung. Für einen Testzugang berücksichtigen wir ausschließlich dienstliche E-Mail-Adressen von Behörden oder Unternehmen.</p>
|
||||
|
||||
<div class="tf-error" id="tf-error" role="alert"></div>
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
sending: 'Wird gesendet...',
|
||||
send: 'Testzugang anfragen',
|
||||
nameFehlt: 'Bitte geben Sie Ihren Namen an.',
|
||||
freemail: 'Ein Testzugang ist ausschließlich mit einer dienstlichen E-Mail-Adresse einer Behörde oder eines Unternehmens möglich. Adressen bei Freemail-Anbietern wie Gmail, GMX oder web.de können wir nicht berücksichtigen.',
|
||||
freemail: 'Für einen Testzugang berücksichtigen wir ausschließlich dienstliche E-Mail-Adressen von Behörden oder Unternehmen. Bitte verwenden Sie daher möglichst keine Freemail-Adresse wie Gmail, GMX oder web.de.',
|
||||
invalidMail: 'Diese E-Mail-Adresse sieht nicht vollständig aus. Bitte prüfen Sie Ihre Eingabe.',
|
||||
consent: 'Bitte bestätigen Sie die Datenschutzhinweise, damit wir Ihre Anfrage bearbeiten dürfen.',
|
||||
tooFast: 'Bitte nehmen Sie sich einen Moment für das Formular. Versuchen Sie es gleich noch einmal.',
|
||||
@@ -39,7 +39,7 @@
|
||||
sending: 'Sending...',
|
||||
send: 'Request trial access',
|
||||
nameFehlt: 'Please enter your name.',
|
||||
freemail: 'Trial access requires an official email address from a public authority or a company. Addresses from free providers such as Gmail, GMX or web.de cannot be accepted.',
|
||||
freemail: 'For trial access we only consider official email addresses from public authorities or companies. Please avoid free-provider addresses such as Gmail, GMX or web.de.',
|
||||
invalidMail: 'This email address looks incomplete. Please check your entry.',
|
||||
consent: 'Please confirm the privacy notice so that we may process your request.',
|
||||
tooFast: 'Please take a moment to fill in the form, then try again.',
|
||||
@@ -159,8 +159,8 @@
|
||||
if (!v) { mailNote.textContent = ''; return; }
|
||||
if (isBlocked(v)) {
|
||||
mailNote.textContent = T.freemail;
|
||||
mailNote.className = 'tf-note tf-note-error';
|
||||
mailField.setAttribute('aria-invalid', 'true');
|
||||
mailNote.className = 'tf-note tf-note-warn';
|
||||
mailField.removeAttribute('aria-invalid');
|
||||
} else if (looksOfficial(v)) {
|
||||
mailNote.textContent = T.hintOfficial;
|
||||
mailNote.className = 'tf-note tf-note-ok';
|
||||
@@ -209,7 +209,6 @@
|
||||
eigene Pruefung nicht ueberlagern. Pflichtfelder deshalb hier. */
|
||||
if (!val('tf-name')) return fail(T.nameFehlt, 'tf-name');
|
||||
if (!plausibleMail(email)) return fail(T.invalidMail, 'tf-email');
|
||||
if (isBlocked(email)) return fail(T.freemail, 'tf-email');
|
||||
if (consent && !consent.checked) return fail(T.consent, 'tf-consent');
|
||||
|
||||
if (btn) { btn.disabled = true; btn.textContent = T.sending; }
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren