dashboard page
This commit is contained in:
SDE
2023-11-10 18:06:05 +03:00
parent d4e3b75bcb
commit 0c20d7d0f4
8 changed files with 43 additions and 9 deletions

View File

@@ -1,5 +1,13 @@
from django.template.loader import render_to_string
def get_dashboard_page_content_html(request):
Dict = {
}
html = render_to_string('blocks/profile/b_profile_first_page.html', Dict, request=request)
return html
def get_profile_page_content_html(request, page_name, data):
if page_name == 'chat':
@@ -21,6 +29,8 @@ def get_profile_page_content_html(request, page_name, data):
return get_profile_subscribe_page_content_html(request)
elif page_name == 'change_profile':
return get_profile_change_page_content_html(request)
elif page_name == 'dashboard':
return get_dashboard_page_content_html(request)
else:
return None