diff --git a/static/js/user_profile_2.js b/static/js/user_profile_2.js index b340bda..784dc48 100644 --- a/static/js/user_profile_2.js +++ b/static/js/user_profile_2.js @@ -581,7 +581,7 @@ function selectedUserMessenger (ticket_id=null,user_id=null,el){ if (loader){ loader.classList.toggle("show") } - update_count_unread_messages() + // let left_curtain = document.querySelector('.curtain.left') document.querySelector(".info_profile").innerHTML = data.html; document.querySelector(".enter-message-inp").focus() diff --git a/templates/widgets/w_carrier_card.html b/templates/widgets/w_carrier_card.html index f76d575..ee93093 100644 --- a/templates/widgets/w_carrier_card.html +++ b/templates/widgets/w_carrier_card.html @@ -2,7 +2,9 @@ {% load i18n %} {% load subscribes_tags_extra %} + {% if route.departure_DT %} +{# {% now 'Y-m-d H:i:s' as current_date %}#} {% now 'Y-m-d H:i:s' as current_date %} {% with departure_date_string=route.departure_DT|date:"Y-m-d H:i:s" %} {% if departure_date_string < current_date %} diff --git a/templates/widgets/w_chat_right_panel_user.html b/templates/widgets/w_chat_right_panel_user.html index f2de44c..6fd3fca 100644 --- a/templates/widgets/w_chat_right_panel_user.html +++ b/templates/widgets/w_chat_right_panel_user.html @@ -12,7 +12,7 @@ {% if item.unread_msgs_count %}
-{# {{ item.unread_msgs_count }}#} + {{ unanswered_msgs_count }}
{% endif %}