From 7fd2c60ddbc8a6353e2096d8675a57627a0427fb Mon Sep 17 00:00:00 2001 From: SBD Date: Sun, 3 Dec 2023 16:53:23 +0300 Subject: [PATCH 1/3] 0.8.462 --- static/js/user_profile_2.js | 6 ++++-- templates/blocks/profile/b_new_route.html | 8 ++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/static/js/user_profile_2.js b/static/js/user_profile_2.js index be0c599..42c8c2a 100644 --- a/static/js/user_profile_2.js +++ b/static/js/user_profile_2.js @@ -92,8 +92,10 @@ function select_tab_profile (el,url,owner_type=null) { function selectTabProfileIfHisNotSelected (url) { - let el_f_select = document.querySelector(`[data-ajax-url=${url}]`) - el_f_select.classList.add('selected') + if (url !== 'new_route_view') { + let el_f_select = document.querySelector(`[data-ajax-url=${url}]`) + el_f_select.classList.add('selected') + } } function clickONTHEAPROfileBTN (el) { diff --git a/templates/blocks/profile/b_new_route.html b/templates/blocks/profile/b_new_route.html index 8167f3d..88eb714 100644 --- a/templates/blocks/profile/b_new_route.html +++ b/templates/blocks/profile/b_new_route.html @@ -60,7 +60,7 @@
- + {#
- + {#
- +
- + Date: Sun, 3 Dec 2023 17:09:16 +0300 Subject: [PATCH 2/3] 0.8.463 --- templates/blocks/profile/b_new_route.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/blocks/profile/b_new_route.html b/templates/blocks/profile/b_new_route.html index 88eb714..2d4485e 100644 --- a/templates/blocks/profile/b_new_route.html +++ b/templates/blocks/profile/b_new_route.html @@ -131,6 +131,7 @@ class="from_address_point_txt post_route el_form_b_new_route" {% if form.fields.from_address_point.required %} required{% endif %} id="id_from_address_point_txt" + placeholder="{% translate "Выберите страну и город" %}" {% if form.initial.from_address_point_txt %}value="{{ form.initial.from_address_point_txt }}"{% endif %} /> @@ -166,6 +167,7 @@ {% if form.fields.to_address_point.required %} required{% endif %} id="id_to_address_point_txt" class="to_address_point_txt post_route el_form_b_new_route" + placeholder="{% translate "Выберите страну и город" %}" {% if form.initial.to_address_point_txt %}value="{{ form.initial.to_address_point_txt}}"{% endif %} /> From 66d718327890c035a61d72031ed39f97c8f4e880 Mon Sep 17 00:00:00 2001 From: SBD Date: Sun, 3 Dec 2023 17:12:35 +0300 Subject: [PATCH 3/3] 0.8.464 --- templates/blocks/profile/b_profile.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/blocks/profile/b_profile.html b/templates/blocks/profile/b_profile.html index 0c71608..1d2fa2a 100644 --- a/templates/blocks/profile/b_profile.html +++ b/templates/blocks/profile/b_profile.html @@ -41,7 +41,7 @@
- + {% if profileForm.errors.email %}
{{ profileForm.errors.email }}
{% endif %}