diff --git a/config/config.yml b/config/config.yml index 680b513..41fe58a 100644 --- a/config/config.yml +++ b/config/config.yml @@ -1,6 +1,6 @@ huh_encore: templates: imports: - - { name: default_css, template: "@HeimrichHannotContaoEncore/encore_css_imports.html.twig" } - - { name: default_js, template: "@HeimrichHannotContaoEncore/encore_js_imports.html.twig" } - - { name: default_head_js, template: "@HeimrichHannotContaoEncore/encore_head_js_imports.html.twig" } \ No newline at end of file + - { name: default_css, template: "@HeimrichHannotEncore/encore_css_imports.html.twig" } + - { name: default_js, template: "@HeimrichHannotEncore/encore_js_imports.html.twig" } + - { name: default_head_js, template: "@HeimrichHannotEncore/encore_head_js_imports.html.twig" } \ No newline at end of file diff --git a/docs/developers.md b/docs/developers.md index 6a7ec05..a876ae5 100644 --- a/docs/developers.md +++ b/docs/developers.md @@ -107,6 +107,6 @@ Example: huh_encore: templates: imports: - - { name: default_css, template: "@HeimrichHannotContaoEncore/encore_css_imports.html.twig" } - - { name: default_js, template: "@HeimrichHannotContaoEncore/encore_js_imports.html.twig" } + - { name: default_css, template: "@HeimrichHannotEncore/encore_css_imports.html.twig" } + - { name: default_js, template: "@HeimrichHannotEncore/encore_js_imports.html.twig" } ``` \ No newline at end of file diff --git a/src/Command/PrepareCommand.php b/src/Command/PrepareCommand.php index defa78f..32b934c 100644 --- a/src/Command/PrepareCommand.php +++ b/src/Command/PrepareCommand.php @@ -168,7 +168,7 @@ protected function execute(InputInterface $input, OutputInterface $output) if (!empty($encoreJsEntries)) { $this->io->text(['', ' // Output encore_bundles.js', '']); - $content = $this->twig->render('@HeimrichHannotContaoEncore/encore_bundles.js.twig', [ + $content = $this->twig->render('@HeimrichHannotEncore/encore_bundles.js.twig', [ 'entries' => $encoreJsEntries, 'skipEntries' => $skipEntries, ]); diff --git a/src/DependencyInjection/Configuration.php b/src/DependencyInjection/Configuration.php index b49552b..d855ea6 100644 --- a/src/DependencyInjection/Configuration.php +++ b/src/DependencyInjection/Configuration.php @@ -32,7 +32,7 @@ public function getConfigTreeBuilder() ->cannotBeEmpty() ->end() ->scalarNode('template') - ->info('Full references twig template path. Example: @HeimrichHannotContaoEncore/encore_css_imports.html.twig') + ->info('Full references twig template path. Example: @HeimrichHannotEncore/encore_css_imports.html.twig') ->isRequired() ->cannotBeEmpty() ->end() diff --git a/src/EventListener/DcaField/EncoreEntriesSelectFieldListener.php b/src/EventListener/DcaField/EncoreEntriesSelectFieldListener.php index a419bf6..ef61353 100644 --- a/src/EventListener/DcaField/EncoreEntriesSelectFieldListener.php +++ b/src/EventListener/DcaField/EncoreEntriesSelectFieldListener.php @@ -55,7 +55,7 @@ public function onLoadDataContainer(string $table): void 'exclude' => true, 'default' => true, 'inputType' => 'checkbox', - 'eval' => ['tl_class' => 'w50', 'groupStyle' => 'width: 65px'], + 'eval' => ['tl_class' => 'w50', 'groupStyle' => 'width: 70px;align-self: center;'], ], ], $field['eval']['multiColumnEditor']['fields'] diff --git a/tests/Asset/TemplateAssetTest.php b/tests/Asset/TemplateAssetTest.php index c41c94b..6119e13 100644 --- a/tests/Asset/TemplateAssetTest.php +++ b/tests/Asset/TemplateAssetTest.php @@ -25,9 +25,9 @@ public function createTestInstance(array $parameters = [], $instanceMock = null) $parameters['bundleConfig'] = [ 'templates' => [ 'imports' => [ - ['name' => 'default_css', 'template' => '@HeimrichHannotContaoEncore/encore_css_imports.html.twig'], - ['name' => 'default_js', 'template' => '@HeimrichHannotContaoEncore/encore_js_imports.html.twig'], - ['name' => 'default_head_js', 'template' => '@HeimrichHannotContaoEncore/encore_head_js_imports.html.twig'], + ['name' => 'default_css', 'template' => '@HeimrichHannotEncore/encore_css_imports.html.twig'], + ['name' => 'default_js', 'template' => '@HeimrichHannotEncore/encore_js_imports.html.twig'], + ['name' => 'default_head_js', 'template' => '@HeimrichHannotEncore/encore_head_js_imports.html.twig'], ], ], ];