From 8d940605e3983678e9a487486e1b185f65da446d Mon Sep 17 00:00:00 2001 From: slackero Date: Sat, 24 Feb 2024 08:41:33 +0100 Subject: [PATCH] Fixes extension icon in the backend - some text changes and reformat - set version to 12.0.3 --- Classes/EventListener/AddButton.php | 4 +++- README.md | 3 ++- ext_icon.svg => Resources/Public/Icons/Extension.svg | 0 ext_conf_template.txt | 1 - ext_emconf.php | 2 +- 5 files changed, 6 insertions(+), 4 deletions(-) rename ext_icon.svg => Resources/Public/Icons/Extension.svg (100%) diff --git a/Classes/EventListener/AddButton.php b/Classes/EventListener/AddButton.php index b59f400..636500f 100644 --- a/Classes/EventListener/AddButton.php +++ b/Classes/EventListener/AddButton.php @@ -13,7 +13,9 @@ class AddButton { - + /** + * @param ModifyButtonBarEvent $event + */ public function __invoke(ModifyButtonBarEvent $event): void { $showSaveAndView = GeneralUtility::makeInstance(ExtensionConfiguration::class) diff --git a/README.md b/README.md index 27338d4..09f706e 100644 --- a/README.md +++ b/README.md @@ -8,5 +8,6 @@ It adds the "save and close" and "save and view" buttons to each content element You can activate or deactivate each button in the Install Tool -> Extension Configuration +## Changelog - +- 2024-02-24: [TASK] Fix extension icon in the backend diff --git a/ext_icon.svg b/Resources/Public/Icons/Extension.svg similarity index 100% rename from ext_icon.svg rename to Resources/Public/Icons/Extension.svg diff --git a/ext_conf_template.txt b/ext_conf_template.txt index 8055d0b..297df3a 100644 --- a/ext_conf_template.txt +++ b/ext_conf_template.txt @@ -1,4 +1,3 @@ - # cat=Backend; type=boolean; label=Activate "Save and close" button saveAndClose = 1 diff --git a/ext_emconf.php b/ext_emconf.php index be00bcf..e258a87 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -8,7 +8,7 @@ 'author_email' => 'typo3@wappler.systems', 'state' => 'stable', 'uploadfolder' => false, - 'version' => '12.0.2', + 'version' => '12.0.3', 'constraints' => [ 'depends' => [ 'typo3' => '12.4.0-12.4.99',