From 2103e9c1e83fe463d68df88b12ecabbda00ceb56 Mon Sep 17 00:00:00 2001
From: "Torsten Schulz (local)"
Date: Wed, 26 Aug 2026 10:22:08 +0200
Subject: [PATCH 1/4] Refactor team name formatting and update version to 1.8.6
---
components/HomeSpielplanTeamWidget.vue | 14 +++-
components/Navigation.vue | 74 ++++++++++--------
components/Spielplan.vue | 12 +--
package-lock.json | 4 +-
package.json | 4 +-
.../beitrittserklärung_template.pdf | Bin 107225 -> 107224 bytes
server/api/homepage/spielplan-options.get.js | 9 +--
server/templates/mitgliedschaft-fillable.pdf | Bin 107225 -> 107224 bytes
tests/auth-endpoints.spec.ts | 2 +
utils/team-display.js | 22 ++++++
10 files changed, 87 insertions(+), 54 deletions(-)
create mode 100644 utils/team-display.js
diff --git a/components/HomeSpielplanTeamWidget.vue b/components/HomeSpielplanTeamWidget.vue
index fffbd6f..6bf56e2 100755
--- a/components/HomeSpielplanTeamWidget.vue
+++ b/components/HomeSpielplanTeamWidget.vue
@@ -58,7 +58,9 @@
- {{ game.HeimMannschaft }} vs {{ game.GastMannschaft }}
+ {{ formatMatchTeamName(game.HeimMannschaft, game.HeimMannschaftAltersklasse) }}
+ vs
+ {{ formatMatchTeamName(game.GastMannschaft, game.GastMannschaftAltersklasse) }}
@@ -69,6 +71,7 @@
\ No newline at end of file
+
diff --git a/components/Navigation.vue b/components/Navigation.vue
index 70fc015..780f311 100755
--- a/components/Navigation.vue
+++ b/components/Navigation.vue
@@ -111,10 +111,10 @@
-
+
@@ -188,41 +188,53 @@
-
- Übersicht
-
-
-
+ Übersicht
+
+
+
+
+ {{ mannschaft.mannschaft }}
+
+
+
+
- {{ mannschaft.mannschaft }}
+ Spielpläne
-
-
-
+ Spielsysteme
+
+
+
- Spielpläne
-
-
- Spielsysteme
-
+ ›
+
diff --git a/components/Spielplan.vue b/components/Spielplan.vue
index 53c98ad..c3d594e 100755
--- a/components/Spielplan.vue
+++ b/components/Spielplan.vue
@@ -220,6 +220,7 @@