ydcfydf
This commit is contained in:
@@ -30,6 +30,7 @@ $auth = app()->auth();
|
||||
$authUser = $auth->user();
|
||||
$isDebugAdmin = auth_is_admin();
|
||||
$isNexusDebugEnabled = $isDebugAdmin && nexus_debug_enabled();
|
||||
$isCurrentModuleDebugEnabled = $isDebugAdmin && $currentModuleName !== null && module_debug_enabled($currentModuleName);
|
||||
?>
|
||||
<!doctype html>
|
||||
<html lang="de">
|
||||
@@ -56,7 +57,7 @@ $isNexusDebugEnabled = $isDebugAdmin && nexus_debug_enabled();
|
||||
<?php asset_styles(); ?>
|
||||
<?php asset_scripts('header'); ?>
|
||||
</head>
|
||||
<body data-nexus-debug-admin="<?= $isDebugAdmin ? '1' : '0' ?>" data-nexus-debug-enabled="<?= $isNexusDebugEnabled ? '1' : '0' ?>">
|
||||
<body data-nexus-debug-admin="<?= $isDebugAdmin ? '1' : '0' ?>" data-nexus-debug-enabled="<?= $isNexusDebugEnabled ? '1' : '0' ?>" data-module-debug-enabled="<?= $isCurrentModuleDebugEnabled ? '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">
|
||||
|
||||
Reference in New Issue
Block a user