Ghost zeigt "Stufe Ghost" statt "Stufe 6"

Neues optionales Feld rankLabel ueberschreibt nur die ANZEIGE der Stufe,
die Sortierung laeuft weiter ueber rank. Wirkt auf team-modis.html und
profil.html.

Co-Authored-By: Claude Opus 5 <[email protected]>
This commit is contained in:
2026-07-31 21:44:22 +02:00
co-authored by Claude Opus 5
parent 87c95dd0f8
commit 823ff52903
3 changed files with 11 additions and 5 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ document.addEventListener("DOMContentLoaded", () => {
if (person.rank) {
const badge = document.getElementById("profil-badge");
badge.textContent = `Stufe ${person.rank}`;
badge.textContent = `Stufe ${person.rankLabel || person.rank}`;
badge.style.display = "inline-block";
}
if (person.quote) {