0.7.77
dashboard page
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user