Remove phase pill from top bar

This commit is contained in:
2026-02-06 23:37:26 +01:00
parent f1797e18d1
commit b7dfb10522
3 changed files with 2 additions and 4 deletions

View File

@@ -75,7 +75,6 @@
<a id="logout" href="#" class="link inline-link" data-i18n="auth.logout">Logout</a>
</div>
<div class="status-center">
<span id="phase-pill" data-i18n="phase.loading">Loading…</span>
<span class="counts" id="counts"></span>
</div>
<div class="status-right">

View File

@@ -541,6 +541,7 @@ Register again using the correct key from the host or leave it blank to crea
## Data & Privacy
- Suggestions, votes, and phase states are stored in a shared **SQLite database**.
- Passwords are stored with a SHA256 encryption.
- Logging out clears your authentication cookie.
- If an admin deletes your player account, your suggestions and votes are removed as well.
`,
@@ -729,6 +730,7 @@ Registriere dich erneut mit dem korrekten Schlüssel vom Host oder lasse das
## Daten & Datenschutz
- Vorschläge, Stimmen und Phasenstatus werden in einer gemeinsamen **SQLite-Datenbank** gespeichert.
- Passwörtwer werden mit einer SHA256 Verschlüsselung gespeichert.
- Beim Abmelden wird dein Authentifizierungs-Cookie gelöscht.
- Wenn ein Admin dein Spielerkonto löscht, werden auch deine Vorschläge und Stimmen entfernt.
`,

View File

@@ -93,9 +93,6 @@ export function handleAuthError(err, clearUserState) {
}
export function renderPhasePill() {
const phaseKey = typeof state.phase === "string" ? state.phase.toLowerCase() : null;
const pill = $("phase-pill");
if (pill) pill.textContent = phaseKey ? t(`phase.${phaseKey}`) : t("phase.loading");
document.querySelectorAll(".phase-view").forEach((el) =>
el.classList.add("hidden"),
);