From 309887312a12c1d306de2538a564ae905edc837d Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Fri, 4 Aug 2023 12:25:38 +0530 Subject: [PATCH 1/2] Remove Add a new module button if not applicable --- .../modules/page_header_toolbar.tpl | 30 ++++++++++--------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/admin/themes/default/template/controllers/modules/page_header_toolbar.tpl b/admin/themes/default/template/controllers/modules/page_header_toolbar.tpl index 8396a808b..f6cfd6740 100644 --- a/admin/themes/default/template/controllers/modules/page_header_toolbar.tpl +++ b/admin/themes/default/template/controllers/modules/page_header_toolbar.tpl @@ -67,20 +67,22 @@
{l s='Recommended Modules and Services'}
- {if $add_permission eq '1' && ($context_mode != Context::MODE_HOST)} -
  • - - -
    {l s='Add a new module'}
    -
    -
  • - {else} -
  • - - -
    {l s='Add a new module'}
    -
    -
  • + {if $add_permission eq '1'} + {if $context_mode != Context::MODE_HOST} +
  • + + +
    {l s='Add a new module'}
    +
    +
  • + {else} +
  • + + +
    {l s='Add a new module'}
    +
    +
  • + {/if} {/if} {if isset($help_link)} {*
  • From 3a14b37bc9bd51348714960b077a15b628eb5cfd Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Tue, 26 Sep 2023 11:46:37 +0530 Subject: [PATCH 2/2] Text change from PrestaShop to QloApps --- .../themes/default/template/controllers/modules/content.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/admin/themes/default/template/controllers/modules/content.tpl b/admin/themes/default/template/controllers/modules/content.tpl index ec7610a96..bfc706ef7 100644 --- a/admin/themes/default/template/controllers/modules/content.tpl +++ b/admin/themes/default/template/controllers/modules/content.tpl @@ -36,7 +36,7 @@
    - PrestaShop Addons + QloApps Addons