hide category if no export/import and add module category
modifié: core/lib/Thelia/Config/Resources/export.xml modifié: core/lib/Thelia/Config/Resources/import.xml modifié: templates/backOffice/default/export.html modifié: templates/backOffice/default/import.html
This commit is contained in:
@@ -17,11 +17,14 @@
|
|||||||
<title locale="en_US">Content</title>
|
<title locale="en_US">Content</title>
|
||||||
<title locale="fr_FR">Contenu</title>
|
<title locale="fr_FR">Contenu</title>
|
||||||
</export_category>
|
</export_category>
|
||||||
|
|
||||||
<export_category id="thelia.export.orders">
|
<export_category id="thelia.export.orders">
|
||||||
<title locale="en_US">Orders</title>
|
<title locale="en_US">Orders</title>
|
||||||
<title locale="fr_FR">Commandes</title>
|
<title locale="fr_FR">Commandes</title>
|
||||||
</export_category>
|
</export_category>
|
||||||
|
<export_category id="thelia.export.modules">
|
||||||
|
<title locale="en_US">Modules</title>
|
||||||
|
<title locale="fr_FR">Modules</title>
|
||||||
|
</export_category>
|
||||||
</export_categories>
|
</export_categories>
|
||||||
|
|
||||||
<exports>
|
<exports>
|
||||||
|
|||||||
@@ -8,6 +8,10 @@
|
|||||||
<title locale="fr_FR">Produits</title>
|
<title locale="fr_FR">Produits</title>
|
||||||
<title locale="en_US">Products</title>
|
<title locale="en_US">Products</title>
|
||||||
</import_category>
|
</import_category>
|
||||||
|
<import_category id="thelia.import.modules">
|
||||||
|
<title locale="en_US">Modules</title>
|
||||||
|
<title locale="fr_FR">Modules</title>
|
||||||
|
</import_category>
|
||||||
</import_categories>
|
</import_categories>
|
||||||
|
|
||||||
<imports>
|
<imports>
|
||||||
|
|||||||
@@ -34,6 +34,7 @@
|
|||||||
{module_include location='tools_top'}
|
{module_include location='tools_top'}
|
||||||
|
|
||||||
{loop name="export-category" type="export-category" order=$category_order}
|
{loop name="export-category" type="export-category" order=$category_order}
|
||||||
|
{ifloop rel="export-categ-list"}
|
||||||
{assign category_title $TITLE}
|
{assign category_title $TITLE}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
@@ -131,6 +132,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
{/ifloop}
|
||||||
{/loop}
|
{/loop}
|
||||||
|
|
||||||
{elseloop rel="export-category"}
|
{elseloop rel="export-category"}
|
||||||
|
|||||||
@@ -34,6 +34,7 @@
|
|||||||
{module_include location='tools_top'}
|
{module_include location='tools_top'}
|
||||||
|
|
||||||
{loop name="import-category" type="import-category" order=$category_order}
|
{loop name="import-category" type="import-category" order=$category_order}
|
||||||
|
{ifloop rel="import-categ-list"}
|
||||||
{assign category_title $TITLE}
|
{assign category_title $TITLE}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
@@ -110,6 +111,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
{/ifloop}
|
||||||
{/loop}
|
{/loop}
|
||||||
|
|
||||||
{elseloop rel="import-category"}
|
{elseloop rel="import-category"}
|
||||||
|
|||||||
Reference in New Issue
Block a user