Skip to content

Commit c4b9fa4

Browse files
committed
Fix asset backend CSS
1 parent 45b706d commit c4b9fa4

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/Controller/BackendHelpController.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
namespace ContaoCommunityAlliance\DcGeneral\Controller;
66

7+
use Contao\Backend;
78
use ContaoCommunityAlliance\DcGeneral\BackendHelp\BackendHelpProviderInterface;
89
use Symfony\Component\HttpFoundation\Response;
910
use Symfony\Component\Routing\Attribute\Route;
@@ -22,6 +23,7 @@ public function __invoke(
2223
$twig->render(
2324
'@CcaDcGeneral/backendhelp.html.twig',
2425
[
26+
'theme' => Backend::getTheme(),
2527
'values' => $backendHelpProvider->getHelpFor($table, $property),
2628
'table' => $table,
2729
'property' => $property,

src/Resources/views/backendhelp.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta name="generator" content="Contao Open Source CMS">
77
<meta name="viewport" content="width=device-width,initial-scale=1.0,shrink-to-fit=no">
88
<meta name="referrer" content="origin">
9-
<link rel="stylesheet" href="/system/themes/flexible/help.3698d321.css">
9+
<link rel="stylesheet" href="{{ asset('help.css', 'system/themes/' ~ theme) }}">
1010
</head>
1111
<body>
1212

0 commit comments

Comments
 (0)