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

@ -107,7 +107,8 @@ function updateNav() {
if (isLoggedIn()) {
nav.style.display = '';
const role = getRole();
userInfo.textContent = `${getUser()} (${role})`;
const roleLabel = role === 'coach' ? 'counselor' : role;
userInfo.textContent = `${getUser()} (${roleLabel})`;
// Show/hide role-gated nav items
document.querySelectorAll('[data-nav-roles]').forEach(li => {