From a3736c9dbd7548ea452f42db62fa2cfc83af91d4 Mon Sep 17 00:00:00 2001 From: overcuriousity Date: Mon, 11 Aug 2025 23:09:16 +0200 Subject: [PATCH] Tool-Aktionen --- src/pages/knowledgebase/[slug].astro | 49 +++++++++++++++------------- 1 file changed, 26 insertions(+), 23 deletions(-) diff --git a/src/pages/knowledgebase/[slug].astro b/src/pages/knowledgebase/[slug].astro index 8cdb449..0002d39 100644 --- a/src/pages/knowledgebase/[slug].astro +++ b/src/pages/knowledgebase/[slug].astro @@ -96,27 +96,27 @@ const currentUrl = Astro.url.href; // Show authentication required message (no auto-redirect) if (contentArea) { const loginUrl = '/api/auth/login?returnTo=' + encodeURIComponent(window.location.href); - contentArea.innerHTML = [ - '
', - '
🔒
', - '

Authentifizierung erforderlich

', - '

Dieser Artikel enthält geschützte Inhalte und ist nur für authentifizierte Benutzer zugänglich.

', - '', - '
', - 'Nach der Anmeldung werden Sie automatisch zu diesem Artikel zurückgeleitet.', - '
', - '
' - ].join(''); + contentArea.innerHTML = [ + '
', + '
🔒
', + '

Authentifizierung erforderlich

', + '

Dieser Artikel enthält geschützte Inhalte und ist nur für authentifizierte Benutzer zugänglich.

', + '
', + '', + '', + '', + '', + '', + '', + 'Anmelden', + '', + 'Zurück zur Übersicht', + '
', + '
', + 'Nach der Anmeldung werden Sie automatisch zu diesem Artikel zurückgeleitet.', + '
', + '
' + ].join(''); contentArea.style.display = 'block'; } } else { @@ -287,7 +287,7 @@ const currentUrl = Astro.url.href;