mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-09 06:46:08 -06:00
parent
0f8d4b9781
commit
b63a9f56ca
@ -12,7 +12,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
{{ addBlock('ads-list/partials/breadcrumb',{'mainCats':mainCats})|raw }}
|
{{ addBlock('ads-list/partials/breadcrumb',{'mainCats': mainCats, 'category': categoryId})|raw }}
|
||||||
|
|
||||||
</ol>
|
</ol>
|
||||||
</nav>
|
</nav>
|
||||||
@ -1,9 +1,4 @@
|
|||||||
{% set catSlug = null %}
|
{% if params.category %}
|
||||||
{% set pathInfo = app.request.pathinfo|split('/') %}
|
|
||||||
{% if pathInfo[1] == 'c' %}
|
|
||||||
{% set catSlug = pathInfo[2] %}
|
|
||||||
{% endif %}
|
|
||||||
{% if catSlug %}
|
|
||||||
{% for category_breadcrumbs in params.mainCats %}
|
{% for category_breadcrumbs in params.mainCats %}
|
||||||
<li class="breadcrumb-item">
|
<li class="breadcrumb-item">
|
||||||
<a href="{{ url_route('visiosoft.module.advs::list_cat', [category_breadcrumbs['id']]) }}"
|
<a href="{{ url_route('visiosoft.module.advs::list_cat', [category_breadcrumbs['id']]) }}"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user