mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-10 23:36:08 -06:00
fixed mobile sub-cats
This commit is contained in:
parent
92eadf3821
commit
120aa11ac7
@ -38,6 +38,7 @@ return [
|
|||||||
'get_categories',
|
'get_categories',
|
||||||
'listing_page_image',
|
'listing_page_image',
|
||||||
'show_ads_count',
|
'show_ads_count',
|
||||||
|
'show_subcats_mobile',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'ads_detail' => [
|
'ads_detail' => [
|
||||||
|
|||||||
@ -437,4 +437,10 @@ return [
|
|||||||
'default_value' => true,
|
'default_value' => true,
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
|
'show_subcats_mobile' => [
|
||||||
|
'type' => 'anomaly.field_type.boolean',
|
||||||
|
'config' => [
|
||||||
|
'default_value' => false,
|
||||||
|
]
|
||||||
|
],
|
||||||
];
|
];
|
||||||
|
|||||||
@ -262,4 +262,7 @@ return [
|
|||||||
'name' => 'Detailed Product Options',
|
'name' => 'Detailed Product Options',
|
||||||
'instructions' => 'Allows you to enter stock and price information for the product'
|
'instructions' => 'Allows you to enter stock and price information for the product'
|
||||||
],
|
],
|
||||||
|
'show_subcats_mobile' => [
|
||||||
|
'name' => 'Show subcategories on mobile view',
|
||||||
|
]
|
||||||
];
|
];
|
||||||
|
|||||||
@ -1,5 +1,7 @@
|
|||||||
<div id="mobileListingPage" class="d-sm-none mb-5">
|
<div id="mobileListingPage" class="d-sm-none mb-5">
|
||||||
|
{% if setting_value('visiosoft.module.advs::show_subcats_mobile') %}
|
||||||
{% include "visiosoft.module.advs::list/partials/sub-categories-mobile" %}
|
{% include "visiosoft.module.advs::list/partials/sub-categories-mobile" %}
|
||||||
|
{% endif %}
|
||||||
{% if not hideBreadcrump %}
|
{% if not hideBreadcrump %}
|
||||||
{% include "visiosoft.module.advs::list/partials/mobile-breadcrumb" %}
|
{% include "visiosoft.module.advs::list/partials/mobile-breadcrumb" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user