yyxx
All checks were successful
Deploy / deploy-staging (push) Successful in 6s
Deploy / deploy-production (push) Has been skipped

This commit is contained in:
2026-05-05 23:46:23 +02:00
parent e335a8d5bf
commit 48b7583f19
9 changed files with 528 additions and 277 deletions

View File

@@ -28,6 +28,8 @@ $headerActions = isset($GLOBALS['layout_header_actions']) && is_array($GLOBALS['
: [];
$auth = app()->auth();
$authUser = $auth->user();
$isDebugAdmin = auth_is_admin();
$isNexusDebugEnabled = $isDebugAdmin && nexus_debug_enabled();
?>
<!doctype html>
<html lang="de">
@@ -54,7 +56,7 @@ $authUser = $auth->user();
<?php asset_styles(); ?>
<?php asset_scripts('header'); ?>
</head>
<body>
<body data-nexus-debug-admin="<?= $isDebugAdmin ? '1' : '0' ?>" data-nexus-debug-enabled="<?= $isNexusDebugEnabled ? '1' : '0' ?>">
<main class="main-shell">
<section class="home-hero app-header main-header-box" data-module-name="<?= e((string)($currentModuleName ?? '')) ?>">
<a class="brand-mark" href="/" aria-label="Nexus">