Improved empty "Modules" tab in products, folders, categories and content.
This commit is contained in:
@@ -222,6 +222,10 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.module-tab {
|
||||||
|
margin-top: 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
.tab-content {
|
.tab-content {
|
||||||
// Center loading indicator
|
// Center loading indicator
|
||||||
.loading {
|
.loading {
|
||||||
|
|||||||
@@ -260,8 +260,14 @@
|
|||||||
{include file='includes/document-upload-form.html' documentType='category' parentId=$ID}
|
{include file='includes/document-upload-form.html' documentType='category' parentId=$ID}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="tab-pane fade" id="modules">
|
<div class="tab-pane fade module-tab" id="modules">
|
||||||
{module_include location='category-edit'}
|
{module_include location='category-edit' countvar='module_count'}
|
||||||
|
|
||||||
|
{if $countvar == 0}
|
||||||
|
<div class="alert alert-info">
|
||||||
|
{intl l="There are currently no active module here."}
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -155,8 +155,14 @@
|
|||||||
{include file='includes/document-upload-form.html' documentType='content' parentId=$content_id}
|
{include file='includes/document-upload-form.html' documentType='content' parentId=$content_id}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="tab-pane fade" id="modules">
|
<div class="tab-pane fade module-tab" id="modules">
|
||||||
{module_include location='content-edit'}
|
{module_include location='content-edit' countvar='module_count'}
|
||||||
|
|
||||||
|
{if $countvar == 0}
|
||||||
|
<div class="alert alert-info">
|
||||||
|
{intl l="There are currently no active module here."}
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -141,8 +141,15 @@
|
|||||||
{include file='includes/document-upload-form.html' documentType='folder' parentId=$ID}
|
{include file='includes/document-upload-form.html' documentType='folder' parentId=$ID}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="tab-pane fade" id="modules">
|
<div class="tab-pane fade module-tab" id="modules">
|
||||||
{module_include location='folder-edit'}
|
|
||||||
|
{module_include location='folder-edit' countvar='module_count'}
|
||||||
|
|
||||||
|
{if $countvar == 0}
|
||||||
|
<div class="alert alert-info">
|
||||||
|
{intl l="There are currently no active module here."}
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -108,8 +108,14 @@
|
|||||||
<div class="text-center"><span class="loading">{intl l="Please wait, loading"}</span></div>
|
<div class="text-center"><span class="loading">{intl l="Please wait, loading"}</span></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="tab-pane fade" id="modules">
|
<div class="tab-pane fade module-tab" id="modules">
|
||||||
{module_include location='product-edit'}
|
{module_include location='product-edit' countvar='module_count'}
|
||||||
|
|
||||||
|
{if $countvar == 0}
|
||||||
|
<div class="alert alert-info">
|
||||||
|
{intl l="There are currently no active module here."}
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user