mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
Merge pull request #618 from openclassify/vedatakdogan
added market Place Mode
This commit is contained in:
commit
2d17027b75
@ -7,11 +7,12 @@ return [
|
|||||||
'general' => [
|
'general' => [
|
||||||
'title' => 'visiosoft.module.advs::section.general',
|
'title' => 'visiosoft.module.advs::section.general',
|
||||||
'fields' => [
|
'fields' => [
|
||||||
|
'market_place',
|
||||||
'iban_numbers',
|
'iban_numbers',
|
||||||
'google_statistic_code',
|
'google_statistic_code',
|
||||||
'ogImage',
|
'ogImage',
|
||||||
'free_currencyconverterapi_key',
|
'free_currencyconverterapi_key',
|
||||||
'enabled_currencies'
|
'enabled_currencies',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'ads' => [
|
'ads' => [
|
||||||
|
|||||||
@ -189,4 +189,10 @@ return [
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
'market_place' => [
|
||||||
|
'type' => 'anomaly.field_type.boolean',
|
||||||
|
'config' => [
|
||||||
|
'default_value' => true,
|
||||||
|
],
|
||||||
|
],
|
||||||
];
|
];
|
||||||
|
|||||||
@ -127,4 +127,7 @@ return [
|
|||||||
'register_email_field' => [
|
'register_email_field' => [
|
||||||
'name' => 'Member Registration Email Requirement',
|
'name' => 'Member Registration Email Requirement',
|
||||||
],
|
],
|
||||||
|
'market_place' => [
|
||||||
|
'name' => 'Market Place',
|
||||||
|
],
|
||||||
];
|
];
|
||||||
|
|||||||
@ -13,18 +13,21 @@
|
|||||||
<img src="{{ img('visiosoft.module.profile::images/social-media.svg').url }}">
|
<img src="{{ img('visiosoft.module.profile::images/social-media.svg').url }}">
|
||||||
<p>{{ trans('visiosoft.module.profile::addon.title') }}</p>
|
<p>{{ trans('visiosoft.module.profile::addon.title') }}</p>
|
||||||
</a>
|
</a>
|
||||||
<a href="{{ url_route('profile::ads') }}"
|
{% set marketPlace = setting_value('visiosoft.module.advs::market_place') %}
|
||||||
class="px-3 link-unstyled{{ app.request.pathinfo == '/profile/ads' ? ' active' : '' }}">
|
{% if marketPlace %}
|
||||||
<img src="{{ img('visiosoft.module.profile::images/website.svg').url }}">
|
<a href="{{ url_route('profile::ads') }}"
|
||||||
<p>{{ trans('visiosoft.module.advs::addon.title') }}</p>
|
class="px-3 link-unstyled{{ app.request.pathinfo == '/profile/ads' ? ' active' : '' }}">
|
||||||
</a>
|
<img src="{{ img('visiosoft.module.profile::images/website.svg').url }}">
|
||||||
|
<p>{{ trans('visiosoft.module.advs::addon.title') }}</p>
|
||||||
|
</a>
|
||||||
|
{% endif %}
|
||||||
<a href="{{ url_route('profile::address') }}"
|
<a href="{{ url_route('profile::address') }}"
|
||||||
class="px-3 link-unstyled{{ app.request.pathinfo == '/profile/address' ? ' active' : '' }}">
|
class="px-3 link-unstyled{{ app.request.pathinfo == '/profile/address' ? ' active' : '' }}">
|
||||||
<img src="{{ img('visiosoft.module.profile::images/location.svg').url }}">
|
<img src="{{ img('visiosoft.module.profile::images/location.svg').url }}">
|
||||||
<p>{{ trans('visiosoft.module.profile::stream.adress.name') }}</p>
|
<p>{{ trans('visiosoft.module.profile::stream.adress.name') }}</p>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
{{ addBlock('profile/navigation')|raw }}
|
{{ addBlock('profile/navigation',{'marketPlace':marketPlace})|raw }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="overlay"></div>
|
<div class="overlay"></div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user