diff --git a/templates/backOffice/default/assets/less/thelia/thelia.less b/templates/backOffice/default/assets/less/thelia/thelia.less index ce9da65a9..849d6caf3 100644 --- a/templates/backOffice/default/assets/less/thelia/thelia.less +++ b/templates/backOffice/default/assets/less/thelia/thelia.less @@ -222,6 +222,10 @@ } } +.module-tab { + margin-top: 1.5em; +} + .tab-content { // Center loading indicator .loading { diff --git a/templates/backOffice/default/category-edit.html b/templates/backOffice/default/category-edit.html index 1885d8201..d6d7f6e1d 100644 --- a/templates/backOffice/default/category-edit.html +++ b/templates/backOffice/default/category-edit.html @@ -260,8 +260,14 @@ {include file='includes/document-upload-form.html' documentType='category' parentId=$ID} -
- {module_include location='category-edit'} +
+ {module_include location='category-edit' countvar='module_count'} + + {if $countvar == 0} +
+ {intl l="There are currently no active module here."} +
+ {/if}
diff --git a/templates/backOffice/default/content-edit.html b/templates/backOffice/default/content-edit.html index 1014d512c..fba40a1e1 100644 --- a/templates/backOffice/default/content-edit.html +++ b/templates/backOffice/default/content-edit.html @@ -155,8 +155,14 @@ {include file='includes/document-upload-form.html' documentType='content' parentId=$content_id} -
- {module_include location='content-edit'} +
+ {module_include location='content-edit' countvar='module_count'} + + {if $countvar == 0} +
+ {intl l="There are currently no active module here."} +
+ {/if}
diff --git a/templates/backOffice/default/folder-edit.html b/templates/backOffice/default/folder-edit.html index e86790634..30dde9a2b 100644 --- a/templates/backOffice/default/folder-edit.html +++ b/templates/backOffice/default/folder-edit.html @@ -141,8 +141,15 @@ {include file='includes/document-upload-form.html' documentType='folder' parentId=$ID} -
- {module_include location='folder-edit'} +
+ + {module_include location='folder-edit' countvar='module_count'} + + {if $countvar == 0} +
+ {intl l="There are currently no active module here."} +
+ {/if}
diff --git a/templates/backOffice/default/product-edit.html b/templates/backOffice/default/product-edit.html index 7a91f2647..f3deaa993 100644 --- a/templates/backOffice/default/product-edit.html +++ b/templates/backOffice/default/product-edit.html @@ -108,8 +108,14 @@
{intl l="Please wait, loading"}
-
- {module_include location='product-edit'} +
+ {module_include location='product-edit' countvar='module_count'} + + {if $countvar == 0} +
+ {intl l="There are currently no active module here."} +
+ {/if}