0.8.25 profile unredeaded messages

This commit is contained in:
SDE
2023-12-03 13:32:21 +03:00
parent 38c08cbced
commit af00d1a54b
3 changed files with 16 additions and 1 deletions

View File

@@ -2,7 +2,10 @@ from django.template.loader import render_to_string
def get_dashboard_page_content_html(request):
from ChatServiceApp.funcs import get_unanswered_msgs_count_for_user
Dict = {
'unanswered_msgs_count': get_unanswered_msgs_count_for_user(request.user)
}
html = render_to_string('blocks/profile/b_profile_first_page.html', Dict, request=request)