[-] Mobile : Added sub-categories view from home page
This commit is contained in:
1 parent
38f3679302
commit
bfd3e40ab3
2 files changed
+5
-2
No files matched your search
@@ -50,7 +50,7 @@
|
|||||||
<!-- Pagination -->
|
<!-- Pagination -->
|
||||||
<div class="clearfix">
|
<div class="clearfix">
|
||||||
<div class="pagination_mobile wrapper_pagination_mobile">
|
<div class="pagination_mobile wrapper_pagination_mobile">
|
||||||
{if $start!=$stop}
|
{if $start!=$stop && $pages_nb >= 1}
|
||||||
<ul class="pagination_mobile" data-role="controlgroup" data-type="horizontal">
|
<ul class="pagination_mobile" data-role="controlgroup" data-type="horizontal">
|
||||||
{if $p != 1}
|
{if $p != 1}
|
||||||
{assign var='p_previous' value=$p-1}
|
{assign var='p_previous' value=$p-1}
|
||||||
|
|||||||
@@ -26,18 +26,21 @@
|
|||||||
{hook h="displayMobileTopSiteMap"}
|
{hook h="displayMobileTopSiteMap"}
|
||||||
</div>
|
</div>
|
||||||
<hr width="99%" align="center" size="2" class=""/>
|
<hr width="99%" align="center" size="2" class=""/>
|
||||||
|
|
||||||
{if isset($categoriesTree.children)}
|
{if isset($categoriesTree.children)}
|
||||||
<h2>{l s='Our offers'}</h2>
|
<h2>{l s='Our offers'}</h2>
|
||||||
|
|
||||||
<ul data-role="listview" data-inset="true">
|
<ul data-role="listview" data-inset="true">
|
||||||
{for $i=0 to 4}
|
{for $i=0 to 4}
|
||||||
{if isset($categoriesTree.children.$i)}
|
{if isset($categoriesTree.children.$i)}
|
||||||
|
{if isset($categoriesTree.children.$i.children) && ($categoriesTree.children.$i.children|@count > 0)}
|
||||||
|
{include file="./category-tree-branch.tpl" node=$categoriesTree.children.$i}
|
||||||
|
{else}
|
||||||
<li data-icon="arrow-d">
|
<li data-icon="arrow-d">
|
||||||
<a href="{$categoriesTree.children.$i.link|escape:'htmlall':'UTF-8'}" title="{$categoriesTree.children.$i.desc|escape:'htmlall':'UTF-8'}">
|
<a href="{$categoriesTree.children.$i.link|escape:'htmlall':'UTF-8'}" title="{$categoriesTree.children.$i.desc|escape:'htmlall':'UTF-8'}">
|
||||||
{$categoriesTree.children.$i.name|escape:'htmlall':'UTF-8'}
|
{$categoriesTree.children.$i.name|escape:'htmlall':'UTF-8'}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
{/for}
|
{/for}
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
Reference in new issue
Block a user