1.1.26 upd msg counter and styles for news

This commit is contained in:
2024-07-03 17:18:40 +03:00
parent c2b6890311
commit b67b290279
6 changed files with 26 additions and 7 deletions

View File

@@ -74,7 +74,7 @@
{{ user.first_name|truncatechars:6}} {{ user.last_name|truncatechars:5 }}
</span>
<span id="placeholder1"></span>
<div class="icon_unread_messages{% if unanswered_msgs_count %} showed{% endif %}" style="position:relative;top: 4px;padding-right: 13px;">
<div class="icon_unread_messages{% if unanswered_msgs_count > 0 %} showed{% endif %}" style="position:relative;top: 4px;padding-right: 13px;">
<div class="cost-messages-in-user-tab-messenger" style="background: #FFFFFF;">
<span class="unredmessages_value_text " style="padding-top: 2px;padding-left: 0;position: relative;top: -8px;color: #FF613A;">{{ unanswered_msgs_count }}</span>
</div>

View File

@@ -24,9 +24,9 @@
{% endif %}
{{ title }}
{% if sel_page_name == 'chat' %}
<div class="icon_unread_messages {% if unanswered_msgs_count %}showed{% endif %}" style="padding-top: 0;position:relative;top: 4px;">
<div class="icon_unread_messages {% if unanswered_msgs_count > 0 %}showed{% endif %}" style="padding-top: 0;position:relative;top: 4px;">
<div class="cost-messages-in-user-tab-messenger">
<span class="unredmessages_value_text" style="padding-top: 2px;padding-left: 0;position:relative;top: -6px">{{ unanswered_msgs_count }}</span>
<span class="unredmessages_value_text" style="padding-top: 8px;padding-left: 0;position:relative;top: -6px">{{ unanswered_msgs_count }}</span>
</div>
</div>
{% endif %}