mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
Merge branch 'master' of https://github.com/openclassify/openclassify
This commit is contained in:
commit
dc90a96638
@ -7,11 +7,12 @@ return [
|
||||
'general' => [
|
||||
'title' => 'visiosoft.module.advs::section.general',
|
||||
'fields' => [
|
||||
'market_place',
|
||||
'iban_numbers',
|
||||
'google_statistic_code',
|
||||
'ogImage',
|
||||
'free_currencyconverterapi_key',
|
||||
'enabled_currencies'
|
||||
'enabled_currencies',
|
||||
],
|
||||
],
|
||||
'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' => [
|
||||
'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 }}">
|
||||
<p>{{ trans('visiosoft.module.profile::addon.title') }}</p>
|
||||
</a>
|
||||
<a href="{{ url_route('profile::ads') }}"
|
||||
class="px-3 link-unstyled{{ app.request.pathinfo == '/profile/ads' ? ' active' : '' }}">
|
||||
<img src="{{ img('visiosoft.module.profile::images/website.svg').url }}">
|
||||
<p>{{ trans('visiosoft.module.advs::addon.title') }}</p>
|
||||
</a>
|
||||
{% set marketPlace = setting_value('visiosoft.module.advs::market_place') %}
|
||||
{% if marketPlace %}
|
||||
<a href="{{ url_route('profile::ads') }}"
|
||||
class="px-3 link-unstyled{{ app.request.pathinfo == '/profile/ads' ? ' active' : '' }}">
|
||||
<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') }}"
|
||||
class="px-3 link-unstyled{{ app.request.pathinfo == '/profile/address' ? ' active' : '' }}">
|
||||
<img src="{{ img('visiosoft.module.profile::images/location.svg').url }}">
|
||||
<p>{{ trans('visiosoft.module.profile::stream.adress.name') }}</p>
|
||||
</a>
|
||||
|
||||
{{ addBlock('profile/navigation')|raw }}
|
||||
{{ addBlock('profile/navigation',{'marketPlace':marketPlace})|raw }}
|
||||
</div>
|
||||
|
||||
<div class="overlay"></div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user