mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
#2647 emlak24 yapılacaklar
This commit is contained in:
parent
4ae49141f4
commit
548736ee5a
@ -37,6 +37,7 @@ return [
|
||||
'hide_standard_price_field',
|
||||
'hide_options_field',
|
||||
'hide_village_field',
|
||||
'hide_configurations',
|
||||
'show_breadcrumb_when_creating_ad',
|
||||
],
|
||||
],
|
||||
|
||||
@ -132,6 +132,13 @@ return [
|
||||
'mode' => 'checkbox'
|
||||
]
|
||||
],
|
||||
'hide_configurations' => [
|
||||
'type' => 'anomaly.field_type.boolean',
|
||||
'config' => [
|
||||
'default_value' => false,
|
||||
'mode' => 'checkbox'
|
||||
]
|
||||
],
|
||||
'enabled_currencies' => [
|
||||
'bind' => 'streams::currencies.enabled',
|
||||
'env' => 'ADV_ENABLED_CURRENCIES',
|
||||
|
||||
@ -103,6 +103,10 @@ return [
|
||||
'hide_village_field' => [
|
||||
'name' => 'Hide Village Field',
|
||||
],
|
||||
'hide_configurations' => [
|
||||
'name' => 'Hide the Configurations Button',
|
||||
'instructions' => 'Hide the Configurations Button in the Ad Preview Page',
|
||||
],
|
||||
'enabled_currencies' => [
|
||||
'name' => 'Enabled Currencies',
|
||||
],
|
||||
|
||||
@ -16,10 +16,12 @@
|
||||
{% else %}
|
||||
{% set continueLink = url_route('adv_detail_seo', [adv.slug, adv.id]) %}
|
||||
{% endif %}
|
||||
<a href="{{ route('visiosoft.module.advs::user.configrations.create') }}?ad={{ adv.id }}"
|
||||
class="btn btn-warning shadow-sm mr-4 text-white">
|
||||
{{trans('visiosoft.module.advs::button.create_configurations')}}
|
||||
</a>
|
||||
{% if not setting_value('visiosoft.module.advs::hide_configurations') %}
|
||||
<a href="{{ route('visiosoft.module.advs::user.configrations.create') }}?ad={{ adv.id }}"
|
||||
class="btn btn-warning shadow-sm mr-4 text-white">
|
||||
{{trans('visiosoft.module.advs::button.create_configurations')}}
|
||||
</a>
|
||||
{% endif %}
|
||||
<a href="{{ url_route('visiosoft.module.advs::edit_adv', [adv.id]) }}"
|
||||
class="btn preview-edit shadow-sm border">
|
||||
{{ trans('visiosoft.module.advs::field.edit') }}
|
||||
@ -33,10 +35,12 @@
|
||||
<div class="preview-overlay position-absolute"></div>
|
||||
</div>
|
||||
<div class="preview-actions text-center">
|
||||
<a href="{{ route('visiosoft.module.advs::user.configrations.create') }}?ad={{ adv.id }}"
|
||||
class="btn btn-warning shadow-sm mr-4 text-white">
|
||||
{{trans('visiosoft.module.advs::button.create_configurations')}}
|
||||
</a>
|
||||
{% if not setting_value('visiosoft.module.advs::hide_configurations') %}
|
||||
<a href="{{ route('visiosoft.module.advs::user.configrations.create') }}?ad={{ adv.id }}"
|
||||
class="btn btn-warning shadow-sm mr-4 text-white">
|
||||
{{trans('visiosoft.module.advs::button.create_configurations')}}
|
||||
</a>
|
||||
{% endif %}
|
||||
<a href="{{ url_route('visiosoft.module.advs::edit_adv', [adv.id]) }}" class="btn preview-edit shadow-sm border">
|
||||
{{ trans('visiosoft.module.advs::field.edit') }}
|
||||
</a>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user