#2559 e-madencilik ads header hide

This commit is contained in:
Diatrex 2020-11-05 14:59:14 +03:00
parent 7393a4872f
commit 9b52d3428f
4 changed files with 15 additions and 2 deletions

View File

@ -31,6 +31,7 @@ return [
'hide_standard_price_field', 'hide_standard_price_field',
'hide_options_field', 'hide_options_field',
'listing_page_image', 'listing_page_image',
'show_breadcrumb_when_creating_ad',
], ],
], ],
'ads_image' => [ 'ads_image' => [

View File

@ -290,4 +290,11 @@ return [
'default_value' => 5, 'default_value' => 5,
], ],
], ],
'show_breadcrumb_when_creating_ad' => [
'type' => 'anomaly.field_type.boolean',
'config' => [
'default_value' => true,
'mode' => 'checkbox'
],
],
]; ];

View File

@ -179,5 +179,8 @@ return [
'user_filter_limit' => [ 'user_filter_limit' => [
'name' => 'User Filter Limit', 'name' => 'User Filter Limit',
'instructions' => 'In the admin panel' 'instructions' => 'In the admin panel'
] ],
'show_breadcrumb_when_creating_ad' => [
'name' => 'Show Breadcrumb When Creating an Ad',
],
]; ];

View File

@ -6,7 +6,9 @@
{% block content %} {% block content %}
<section class="clearfix ad-post-page"> <section class="clearfix ad-post-page">
{% include "visiosoft.module.advs::new-ad/partials/breadcrumb" %} {% if setting_value('visiosoft.module.advs::show_breadcrumb_when_creating_ad') %}
{% include "visiosoft.module.advs::new-ad/partials/breadcrumb" %}
{% endif %}
<div id="ad-cat-section" class="border rounded shadow-sm bg-light py-4 px-3"> <div id="ad-cat-section" class="border rounded shadow-sm bg-light py-4 px-3">
<h5 class="mb-3"> <h5 class="mb-3">
<img src="{{ img('visiosoft.module.advs::images/ascend.svg').url }}" class="step-icon mr-1"> <img src="{{ img('visiosoft.module.advs::images/ascend.svg').url }}" class="step-icon mr-1">