1.1.8 add registration message
This commit is contained in:
@@ -16,8 +16,8 @@ function SendRegistrationForm(el){
|
||||
// enctype: 'json',
|
||||
data: formData,
|
||||
success: function(data){
|
||||
|
||||
location.href = `/profile/page/dashboard/`
|
||||
document.querySelector('.info_text').classList.add('show')
|
||||
// location.href = `/profile/page/dashboard/`
|
||||
window.sessionStorage.removeItem('mailingSubscribeRequired')
|
||||
window.sessionStorage.removeItem('email')
|
||||
},
|
||||
|
||||
@@ -12,7 +12,12 @@
|
||||
<div id=title_static>{% blocktrans %}Путешествуй по миру и <span class="color_title">перевози</span> посылки!{% endblocktrans %}</div>
|
||||
{% endif %}
|
||||
|
||||
<span id="sub_title_static">{{ page.description }}</span>
|
||||
{% if page.url == 'for_customers' %}
|
||||
<span id="sub_title_static">{% trans "Быстро, без посредников, без ограничений" %}</span>
|
||||
{% endif %}
|
||||
{% if page.url == 'for_movers' %}
|
||||
<span id="sub_title_static">{% trans "Общайся, перевози послылки и получай бонусы" %}</span>
|
||||
{% endif %}
|
||||
<div class="button_container">
|
||||
|
||||
{% if page.url == 'for_customers' %}
|
||||
|
||||
@@ -109,7 +109,11 @@
|
||||
</div>
|
||||
<div class="button_register">
|
||||
<button id="registration" onclick="SendRegistrationForm(this)"> {% translate "Зарегистрироваться" %} </button>
|
||||
<div class="info_text_wrapper">
|
||||
<div class="info_text">{% trans 'На Вашу почту отправлено письмо для подтверждения регистрации.' %}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</section>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user