Updated UI strings and references from "coach" to "counselor"
Some checks failed
PHPUnit / test (push) Has been cancelled

This commit is contained in:
2026-06-12 13:41:42 +02:00
parent 63a560e803
commit 5b5cc52133
18 changed files with 92 additions and 90 deletions

View File

@ -27,9 +27,9 @@ export async function loginPage() {
app.innerHTML = `
<div class="login-wrapper">
<div class="login-card card">
<h1>BW Sch&uuml;tzt</h1>
<h1>BW Sch&uuml;tzt - NAT-AS</h1>
<p class="subtitle">Questionnaire Management</p>
<p class="login-privacy-note">Coach app stores interview answers encrypted on device; data shown here is loaded from the server after upload.</p>
<p class="login-privacy-note">Counselor app stores interview answers encrypted on device; data shown here is loaded from the server after upload.</p>
<form id="loginForm">
<div class="form-group">
<label for="username">Username</label>
@ -97,7 +97,7 @@ export async function loginPage() {
}
const d = json.data;
if (d.role === 'coach') {
errEl.textContent = 'Coach accounts can only sign in through the mobile app.';
errEl.textContent = 'Counselor accounts can only sign in through the mobile app.';
errEl.style.display = '';
return;
}
@ -152,7 +152,7 @@ export async function loginPage() {
}
const d = json.data;
if (d.role === 'coach') {
errEl.textContent = 'Coach accounts can only sign in through the mobile app.';
errEl.textContent = 'Counselor accounts can only sign in through the mobile app.';
errEl.style.display = '';
return;
}