diff --git a/backend/static/css/components.css b/backend/static/css/components.css index aa7f45c..bfa052e 100644 --- a/backend/static/css/components.css +++ b/backend/static/css/components.css @@ -2284,7 +2284,8 @@ html.modal-open { /* Hundetauglichkeit-Badge */ .rk-badge--dog { background: #fef3c7; color: #92400e; font-size: 1rem; } -.rk-badge--private { background: #f1f5f9; color: #64748b; } +.rk-badge--private { background: #dbeafe; color: #1d4ed8; } /* blau = privat */ +.rk-badge--public { background: #dcfce7; color: #15803d; } /* grün = öffentlich */ /* Foto-Galerie in Route-Detail */ .rk-photo-gallery { diff --git a/backend/static/js/app.js b/backend/static/js/app.js index 33fd887..bc0759b 100644 --- a/backend/static/js/app.js +++ b/backend/static/js/app.js @@ -3,7 +3,7 @@ Router, State-Management, Navigation, Initialisierung. ============================================================ */ -const APP_VER = '225'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '226'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen const App = (() => { diff --git a/backend/static/js/pages/routes.js b/backend/static/js/pages/routes.js index e04877c..7781401 100644 --- a/backend/static/js/pages/routes.js +++ b/backend/static/js/pages/routes.js @@ -726,7 +726,15 @@ window.Page_routes = (() => { ${paws ? `${paws}` : ''} ${route.schatten ? `${UI.icon('tree')} Schatten` : ''} ${route.leine_empfohlen ? `${UI.icon('link')} Leine empfohlen` : ''} - ${!route.is_public ? `${UI.icon('lock')} Privat` : ''} + ${isOwn + ? `` + : (!route.is_public ? `${UI.icon('lock')} Privat` : '') + } ${route.beschreibung ? `
${UI.escape(route.beschreibung)}
` : ''}