mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-09 23:06:08 -06:00
#2493 emlak24 ads edited page
This commit is contained in:
parent
fa0ead6f4b
commit
a60854b38d
@ -29,6 +29,7 @@ return [
|
|||||||
'default_published_time',
|
'default_published_time',
|
||||||
'default_GET',
|
'default_GET',
|
||||||
'hide_standard_price_field',
|
'hide_standard_price_field',
|
||||||
|
'hide_options_field',
|
||||||
'listing_page_image',
|
'listing_page_image',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|||||||
@ -124,6 +124,13 @@ return [
|
|||||||
'default_value' => false,
|
'default_value' => false,
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
|
'hide_options_field' => [
|
||||||
|
'type' => 'anomaly.field_type.boolean',
|
||||||
|
'config' => [
|
||||||
|
'default_value' => false,
|
||||||
|
'mode' => 'checkbox'
|
||||||
|
]
|
||||||
|
],
|
||||||
'enabled_currencies' => [
|
'enabled_currencies' => [
|
||||||
'bind' => 'streams::currencies.enabled',
|
'bind' => 'streams::currencies.enabled',
|
||||||
'env' => 'ADV_ENABLED_CURRENCIES',
|
'env' => 'ADV_ENABLED_CURRENCIES',
|
||||||
|
|||||||
@ -97,6 +97,9 @@ return [
|
|||||||
'hide_standard_price_field' => [
|
'hide_standard_price_field' => [
|
||||||
'name' => 'Hide Standard Price Field',
|
'name' => 'Hide Standard Price Field',
|
||||||
],
|
],
|
||||||
|
'hide_options_field' => [
|
||||||
|
'name' => 'Hide Options Field',
|
||||||
|
],
|
||||||
'enabled_currencies' => [
|
'enabled_currencies' => [
|
||||||
'name' => 'Enabled Currencies',
|
'name' => 'Enabled Currencies',
|
||||||
],
|
],
|
||||||
|
|||||||
@ -122,30 +122,32 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row form-group select-options">
|
{% if not setting_value('visiosoft.module.advs::hide_options_field') %}
|
||||||
<label for="selectOptions" class="col-sm-2">
|
<div class="row form-group select-options">
|
||||||
{{ trans('visiosoft.module.advs::field.options') }}
|
<label for="selectOptions" class="col-sm-2">
|
||||||
</label>
|
{{ trans('visiosoft.module.advs::field.options') }}
|
||||||
<div class="col-sm-10">
|
</label>
|
||||||
<select id="selectOptions" class="form-control options-tags" multiple="multiple"
|
<div class="col-sm-10">
|
||||||
name="options[]">
|
<select id="selectOptions" class="form-control options-tags" multiple="multiple"
|
||||||
{% if count(options) %}
|
name="options[]">
|
||||||
{% for option in options %}
|
{% if count(options) %}
|
||||||
<option id="advOption{{ option.id }}" selected="selected">{{ option.name }}</option>
|
{% for option in options %}
|
||||||
{% endfor %}
|
<option id="advOption{{ option.id }}" selected="selected">{{ option.name }}</option>
|
||||||
{% endif %}
|
{% endfor %}
|
||||||
</select>
|
{% endif %}
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="row form-group product-options">
|
<div class="row form-group product-options">
|
||||||
<label for="productOptions" class="col-sm-2">
|
<label for="productOptions" class="col-sm-2">
|
||||||
{{ trans('visiosoft.module.advs::field.product_option.name') }}
|
{{ trans('visiosoft.module.advs::field.product_option.name') }}
|
||||||
</label>
|
</label>
|
||||||
<div class="col-sm-10">
|
<div class="col-sm-10">
|
||||||
{{ form.fields.product_options_value.input|raw }}
|
{{ form.fields.product_options_value.input|raw }}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
{% endif %}
|
||||||
|
|
||||||
<div class="row form-group brand-name">
|
<div class="row form-group brand-name">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user