From 1e55621d095ddc29fb3eae93fd5e1de427d7d9a8 Mon Sep 17 00:00:00 2001 From: Bogdan Kitura Date: Thu, 19 Dec 2024 12:53:44 +0100 Subject: [PATCH 1/3] 12502-notification-for-blog-extension [in progress] --- view/adminhtml/templates/updateinfo.phtml | 62 +++++++++++++++++------ 1 file changed, 46 insertions(+), 16 deletions(-) diff --git a/view/adminhtml/templates/updateinfo.phtml b/view/adminhtml/templates/updateinfo.phtml index 3c215d42..c23d8c56 100644 --- a/view/adminhtml/templates/updateinfo.phtml +++ b/view/adminhtml/templates/updateinfo.phtml @@ -12,32 +12,62 @@ * * @var $block \Magefan\Blog\Block\Adminhtml\System\Config\Form\UpdateInfo */ + ?> needToUpdate() && \Magefan\Community\Model\UrlChecker::showUrl($block->getUrl())) { ?> -
-
-
- - Use this guide to update it to version %2 - via composer or download the new version archive from the + + + + +
+
+
+
+
+ + +
+
+
+ + Your Blog Extension is out of date. Use this guide to update it to version %2 + via composer or download the new version archive from the Magefan Store. - Please contact + Please contact the Magefan team if you have any questions or need help with an update.', $url1, $block->escapeHtml($block->getLatestVersion()), $url2, $url3 - ); + );*/ ?> + +

+ + Your Blog Extension is outdated. The latest version, %2, is now available, offering improved features and performance.', + $url1, + $block->escapeHtml($block->getLatestVersion()), + $url2, + $url3 + ); + ?> +

+

- - - +
From c0693f8c8aa87d57d16b30932eda3f90a0e7778d Mon Sep 17 00:00:00 2001 From: Bogdan Kitura Date: Thu, 19 Dec 2024 14:19:49 +0100 Subject: [PATCH 2/3] 12502-notification-for-blog-extension [in progress] --- view/adminhtml/templates/updateinfo.phtml | 84 +++++++++-------------- 1 file changed, 33 insertions(+), 51 deletions(-) diff --git a/view/adminhtml/templates/updateinfo.phtml b/view/adminhtml/templates/updateinfo.phtml index c23d8c56..6c6af932 100644 --- a/view/adminhtml/templates/updateinfo.phtml +++ b/view/adminhtml/templates/updateinfo.phtml @@ -16,58 +16,40 @@ ?> needToUpdate() && \Magefan\Community\Model\UrlChecker::showUrl($block->getUrl())) { ?> - - - - -
-
-
-
-
- - + +
+
+
+
+
+ + +
+
+
+

+ + Your Blog Extension is outdated. The latest version, %2, is now available, offering improved features and performance.', + $url1, + $block->escapeHtml($block->getLatestVersion()), + $url2, + $url3 + ); + ?> +

+

-
-
- - Your Blog Extension is out of date. Use this guide to update it to version %2 - via composer or download the new version archive from the - Magefan Store. - Please contact - the Magefan team if you have any questions or need help with an update.', - $url1, - $block->escapeHtml($block->getLatestVersion()), - $url2, - $url3 - );*/ - ?> - -

- - Your Blog Extension is outdated. The latest version, %2, is now available, offering improved features and performance.', - $url1, - $block->escapeHtml($block->getLatestVersion()), - $url2, - $url3 - ); - ?> -

-

-
+ + + From 4082f98ffcb2ea6f4f9d96dad5f1b0b934248cb4 Mon Sep 17 00:00:00 2001 From: Bogdan Kitura Date: Thu, 19 Dec 2024 14:20:41 +0100 Subject: [PATCH 3/3] 12502-notification-for-blog-extension [in progress] --- view/adminhtml/templates/updateinfo.phtml | 1 - 1 file changed, 1 deletion(-) diff --git a/view/adminhtml/templates/updateinfo.phtml b/view/adminhtml/templates/updateinfo.phtml index 6c6af932..47af8fbb 100644 --- a/view/adminhtml/templates/updateinfo.phtml +++ b/view/adminhtml/templates/updateinfo.phtml @@ -12,7 +12,6 @@ * * @var $block \Magefan\Blog\Block\Adminhtml\System\Config\Form\UpdateInfo */ - ?> needToUpdate() && \Magefan\Community\Model\UrlChecker::showUrl($block->getUrl())) { ?>