Updated UI strings and references from "coach" to "counselor"
Some checks failed
PHPUnit / test (push) Has been cancelled
Some checks failed
PHPUnit / test (push) Has been cancelled
This commit is contained in:
@ -27,9 +27,9 @@ export async function loginPage() {
|
||||
app.innerHTML = `
|
||||
<div class="login-wrapper">
|
||||
<div class="login-card card">
|
||||
<h1>BW Schützt</h1>
|
||||
<h1>BW Schü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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user