Merge pull request #1142 from openclassify/muammertop

Muammertop
This commit is contained in:
Fatih Alp 2021-08-18 17:47:37 +03:00 committed by GitHub
commit 963d489b0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 19 additions and 7 deletions

View File

@ -91,7 +91,7 @@ return [
'user' => [
'title' => 'visiosoft.module.advs::section.user',
'fields' => [
'register_email_field'
'register_email_field', 'only_email_login'
],
],
'filter' => [

View File

@ -7,6 +7,12 @@ return [
'default_value' => true,
],
],
'only_email_login' => [
'type' => 'anomaly.field_type.boolean',
'config' => [
'default_value' => false,
],
],
'latest-limit' => [
'type' => 'anomaly.field_type.integer',
'config' => [

View File

@ -291,4 +291,7 @@ return [
'name' => 'Hide out of stock products without listing',
'instructions' => 'Hides out-of-stock GET products from listing and homepage'
],
'only_email_login' => [
'name' => 'Only Email Login'
]
];

View File

@ -133,8 +133,8 @@ return [
],
'market_place' => [
'name' => 'Pazar Yeri',
'instructions' => 'If the marketplace is down, your site will act as ecommerce. For example,
some fields in the profile such as ads, dopings, messages, sale, packages and store are not visible and
'instructions' => 'If the marketplace is down, your site will act as ecommerce. For example,
some fields in the profile such as ads, dopings, messages, sale, packages and store are not visible and
removes corporate membership.'
],
'price_area_hidden' => [
@ -280,7 +280,10 @@ return [
'name' => 'Vergi alanını gizle',
'instructions' => 'Bu seçenek etkinleştirildiğinde, ilan veya ürün oluşturma sayfasında vergi oranını ayarlayabilirsiniz.'
],
'hide_contact_created_at' => [
'name' => 'Hide Contact Fields For in Create New Ad'
]
'hide_contact_created_at' => [
'name' => 'Hide Contact Fields For in Create New Ad'
],
'only_email_login' => [
'name' => 'Sadece Email İle Giriş',
]
];

View File

@ -75,7 +75,7 @@
</div>
{{ form_close() }}
{% if addBlock('login/oauth') or setting_value('visiosoft.module.advs::register_email_field') %}
{% if (addBlock('login/oauth') or setting_value('visiosoft.module.advs::register_email_field')) and not setting_value('visiosoft.module.advs::only_email_login') %}
<div class="text-center text-muted">- {{ trans('visiosoft.theme.base::field.or') }} -</div>
<div class="social-login py-2 px-3">
{% if setting_value('visiosoft.module.advs::register_email_field') %}