From dbee8dabb1fc74a8a451d92b088e7385c1bec920 Mon Sep 17 00:00:00 2001 From: ArtemB Date: Tue, 12 Nov 2024 12:33:10 +0300 Subject: [PATCH] 1.3.2 phone is not required TRI-249, TRI-265 --- static/js/global_js.js | 10 +++++----- templates/widgets/routes/w_my_route.html | 6 +++--- templates/widgets/w_carrier_card.html | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/static/js/global_js.js b/static/js/global_js.js index 9d084c5..a018c96 100644 --- a/static/js/global_js.js +++ b/static/js/global_js.js @@ -227,11 +227,11 @@ function checkStateCookie () { if (!window.document.cookie.includes("allow_cookie=true")){ document.querySelector(".cookie_block").classList.add("show") } - if (!window.document.cookie.includes("popup_show=false")){ - setTimeout(() => { - document.querySelector('.popup_wrapper').classList.add('show'); - }, 15000); - } + // if (!window.document.cookie.includes("popup_show=false")){ + // setTimeout(() => { + // document.querySelector('.popup_wrapper').classList.add('show'); + // }, 15000); + // } if(!window.document.cookie.includes("first_authorization=true") && window.document.getElementById('authenticated_img')){ document.querySelector(".popup_wrapper").classList.add("show") } diff --git a/templates/widgets/routes/w_my_route.html b/templates/widgets/routes/w_my_route.html index 87c5122..99be9f9 100644 --- a/templates/widgets/routes/w_my_route.html +++ b/templates/widgets/routes/w_my_route.html @@ -143,10 +143,10 @@ {% else %}src="{% static "img/svg/user_icon_standart.png" %}"{% endif %}> {{ route.owner.last_name }} {{ route.owner.first_name }} - + - {{ route.phone }} - + {%if route.phone == route.phone %}{{ route.phone }}{% endif %} +
diff --git a/templates/widgets/w_carrier_card.html b/templates/widgets/w_carrier_card.html index 7439a5a..84af8be 100644 --- a/templates/widgets/w_carrier_card.html +++ b/templates/widgets/w_carrier_card.html @@ -105,9 +105,9 @@ {% endif %} - + - {{ route.phone }} + {%if route.phone == route.phone %}{{ route.phone }}{% endif %} {# #}