From fe6375b6f90180c7e311365b3a5661b21e462427 Mon Sep 17 00:00:00 2001 From: ArtemB Date: Tue, 11 Jun 2024 14:54:15 +0300 Subject: [PATCH] 1.1.8 add registration message --- static/js/registration.js | 4 ++-- templates/blocks/static_pages_blocks/b_mover_search.html | 7 ++++++- templates/forms/f_registration.html | 4 ++++ 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/static/js/registration.js b/static/js/registration.js index 7607b65..422e3a8 100644 --- a/static/js/registration.js +++ b/static/js/registration.js @@ -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') }, diff --git a/templates/blocks/static_pages_blocks/b_mover_search.html b/templates/blocks/static_pages_blocks/b_mover_search.html index 7917695..31527b6 100644 --- a/templates/blocks/static_pages_blocks/b_mover_search.html +++ b/templates/blocks/static_pages_blocks/b_mover_search.html @@ -12,7 +12,12 @@
{% blocktrans %}Путешествуй по миру и перевози посылки!{% endblocktrans %}
{% endif %} - {{ page.description }} + {% if page.url == 'for_customers' %} + {% trans "Быстро, без посредников, без ограничений" %} + {% endif %} + {% if page.url == 'for_movers' %} + {% trans "Общайся, перевози послылки и получай бонусы" %} + {% endif %}
{% if page.url == 'for_customers' %} diff --git a/templates/forms/f_registration.html b/templates/forms/f_registration.html index fe32ade..b1ee7d1 100644 --- a/templates/forms/f_registration.html +++ b/templates/forms/f_registration.html @@ -109,7 +109,11 @@
+
+
{% trans 'На Вашу почту отправлено письмо для подтверждения регистрации.' %}
+
+