mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-24 22:11:01 -06:00
#707 [Store] If store is installed show store register
This commit is contained in:
parent
6cc238d8db
commit
24d288c2d0
@ -1,3 +1,4 @@
|
|||||||
|
// Personal Registration
|
||||||
var inputQuery = document.querySelector("input[name=\"phone\"]");
|
var inputQuery = document.querySelector("input[name=\"phone\"]");
|
||||||
var iti = intlTelInput(inputQuery, {
|
var iti = intlTelInput(inputQuery, {
|
||||||
hiddenInput: "full_phone",
|
hiddenInput: "full_phone",
|
||||||
@ -11,3 +12,18 @@ var iti = intlTelInput(inputQuery, {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Store registration
|
||||||
|
var storeInputQuery = document.querySelector(".store-phone input");
|
||||||
|
var storeIti = intlTelInput(storeInputQuery, {
|
||||||
|
hiddenInput: "full_phone",
|
||||||
|
class:"form-control",
|
||||||
|
initialCountry: "auto",
|
||||||
|
geoIpLookup: function (success, failure) {
|
||||||
|
$.get("https://ipinfo.io", function () {
|
||||||
|
}, "jsonp").always(function (resp) {
|
||||||
|
var countryCode = (resp && resp.country) ? resp.country : "";
|
||||||
|
success(countryCode);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
@ -22,4 +22,12 @@ return [
|
|||||||
'forgot_password' => 'I Forgot My Password',
|
'forgot_password' => 'I Forgot My Password',
|
||||||
'email_or_phone_number' => 'Email Address or Phone Number',
|
'email_or_phone_number' => 'Email Address or Phone Number',
|
||||||
'phone_number' => 'Phone Number',
|
'phone_number' => 'Phone Number',
|
||||||
|
|
||||||
|
// Registration instructions
|
||||||
|
'personal_registration_header' => 'What Are Individual Membership Advantages?',
|
||||||
|
'personal_registration_body' => 'Sell and rent your home, car, sell your unused items, get new ones.',
|
||||||
|
'personal_registration_list_1' => 'Post a free ad,',
|
||||||
|
'personal_registration_list_2' => 'Add the ads you are interested in, follow the price changes after adding them to your favorites, create favorite searches that meet your criteria,',
|
||||||
|
'personal_registration_list_3' => 'Send messages to the ad owners on the site.',
|
||||||
|
'register_information_note' => 'The information on this page is taken for ' . env('APPLICATION_DOMAIN') . ' membership. You can find detailed information about the protection of personal data here.',
|
||||||
];
|
];
|
||||||
@ -1,7 +1,7 @@
|
|||||||
{% extends "theme::layouts/default" %}
|
{% extends "theme::layouts/default" %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h3 class="mt-4 mb-3">Register</h3>
|
<h3 class="mt-md-4 mb-3">Register</h3>
|
||||||
<div class="row justify-content-center bg-light rounded border px-3">
|
<div class="row justify-content-center bg-light rounded border px-3">
|
||||||
<div class="col-12 col-md-6 text-left p-3 m-0">
|
<div class="col-12 col-md-6 text-left p-3 m-0">
|
||||||
|
|
||||||
@ -100,36 +100,38 @@
|
|||||||
<div class="social-login py-2 row col-12 m-0">
|
<div class="social-login py-2 row col-12 m-0">
|
||||||
{{ addBlock('login/oauth')|raw }}
|
{{ addBlock('login/oauth')|raw }}
|
||||||
</div>
|
</div>
|
||||||
|
{{ form_close() }}
|
||||||
</div>
|
</div>
|
||||||
<div class="corporate-register"></div>
|
|
||||||
|
{{ addBlock('register/corporate-register')|raw }}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 col-md-6 py-3 pr-0">
|
|
||||||
|
<div class="col-12 col-md-6 py-3 pr-0 instructions d-none d-md-block">
|
||||||
<div class="border personal-advantages py-5 px-5">
|
<div class="border personal-advantages py-5 px-5">
|
||||||
<div class="d-flex align-items-center mb-4">
|
<div class="d-flex align-items-center mb-4">
|
||||||
<img src="{{ img('visiosoft.theme.base::images/register-instruction.png').url }}">
|
<img src="{{ img('visiosoft.theme.base::images/register-instruction.png').url }}">
|
||||||
<h4 class="ml-3">Bireysel Üyelik Avantajları Neler?</h4>
|
<h4 class="ml-3">
|
||||||
|
{{ trans('visiosoft.theme.base::field.personal_registration_header') }}
|
||||||
|
</h4>
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-4">
|
<div class="mb-4">
|
||||||
Evinizi, arabanızı satıp kiralayın,
|
{{ trans('visiosoft.theme.base::field.personal_registration_body') }}
|
||||||
kullanmadığınız eşyalarınızı satın,
|
|
||||||
yenilerini alın.
|
|
||||||
</div>
|
</div>
|
||||||
<ul class="pl-4">
|
<ul class="pl-4">
|
||||||
<li>Ücretsiz ilan verin,</li>
|
<li>{{ trans('visiosoft.theme.base::field.personal_registration_list_1') }}</li>
|
||||||
<li>İlgilendiğiniz ilanları favorilere ekleyin,
|
<li>{{ trans('visiosoft.theme.base::field.personal_registration_list_2') }}</li>
|
||||||
favorilere ekledikten sonraki fiyat
|
<li>{{ trans('visiosoft.theme.base::field.personal_registration_list_3') }}</li>
|
||||||
değişimlerini takip edin, kriterlerinize
|
|
||||||
uygun favori aramalar oluşturun,
|
|
||||||
</li>
|
|
||||||
<li>İlan sahipleri ile site içi mesajlaşın.</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{{ addBlock('register/instructions')|raw }}
|
||||||
|
|
||||||
<div class="border small-notice py-3 px-4 mt-3">
|
<div class="border small-notice py-3 px-4 mt-3">
|
||||||
<div class="d-flex text-muted">
|
<div class="d-flex text-muted">
|
||||||
<i class="fa fa-exclamation-circle" aria-hidden="true"></i>
|
<i class="fa fa-exclamation-circle" aria-hidden="true"></i>
|
||||||
<small class="ml-2 text-muted">
|
<small class="ml-2 text-muted">
|
||||||
Bu sayfadaki bilgiler sahibinden.com üyeliği için alınmaktadır.
|
{{ trans('visiosoft.theme.base::field.register_information_note') }}
|
||||||
Kişisel verilerin korunması hakkında detaylı bilgiye buradan ulaşabilirsiniz.
|
|
||||||
</small>
|
</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -34,7 +34,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" href="{{ url_route('profile::profile') }}">{{ trans('visiosoft.theme.base::field.profile.name') }}</a>
|
<a class="nav-link" href="{{ url_route('profile::profile') }}">{{ trans('visiosoft.theme.base::field.profile') }}</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="/advs/create_adv" class="btn btn-primary">{{ trans("theme::button.post_ad.name") }}</a>
|
<a href="/advs/create_adv" class="btn btn-primary">{{ trans("theme::button.post_ad.name") }}</a>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user