Merge pull request #880 from openclassify/dia

#2943 franchise yapılacaklar
This commit is contained in:
Fatih Alp 2020-12-25 22:46:36 +03:00 committed by GitHub
commit 640edd915b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 14 additions and 2 deletions

View File

@ -23,7 +23,7 @@
</p>
</div>
{{ addBlock('new-ad/steps/step', {'step': step})|raw }}
{{ addBlock('new-ad/steps/step', _context)|raw }}
<div class="step col">
<div class="bullet d-flex align-items-center justify-content-center mx-auto"></div>

View File

@ -13,6 +13,7 @@ return [
'show_checkbox_terms_on_register',
'register_protection_url',
'register_privacy_url',
'hide_register_type_profile',
'show_education_profession',
'education',
'state_of_education',

View File

@ -60,6 +60,13 @@ return [
'mode' => 'checkbox'
]
],
'hide_register_type_profile' => [
'type' => 'anomaly.field_type.boolean',
'config' => [
'default_value' => false,
'mode' => 'checkbox'
]
],
"education" => "anomaly.field_type.tags",
"state_of_education" => "anomaly.field_type.tags",
"profession" => "anomaly.field_type.tags",

View File

@ -43,4 +43,8 @@ return [
'profession' => [
'name' => 'Profession'
],
'hide_register_type_profile' => [
'name' => 'Hide Register Type in Profile Page',
'instructions' => 'Hides the register type field in the profile edit page.',
],
];

View File

@ -205,7 +205,7 @@
</div>
</div>
{% endif %}
<div class="col-md-12">
<div class="col-md-12{{ setting_value('visiosoft.module.profile::hide_register_type_profile') ? ' d-none' }}">
<div class="form-group">
<label class="control-label font-weight-bold">
{{ trans("visiosoft.module.profile::field.register_type.name") }}