TRI-293: add customer-form + adaptive

This commit is contained in:
2024-12-18 18:41:45 +03:00
parent e56d29c322
commit 6044b302bb
26 changed files with 1243 additions and 17 deletions

View File

@@ -111,11 +111,16 @@ def profile_page_View(request, page_name, id=None):
page_html = get_profile_page_content_html(request, page_name, id)
if not page_html:
raise Http404
if page_name == 'create_route_for_customer':
tag = 'tb_base2.html'
else:
tag = 'tb_base.html'
Dict = {
'page_html': page_html,
'page_name': page_name,
'page_type': 'profile'
'page_type': 'profile',
'tag': tag
}
if request.session and 'mailingSubscribeRequired' in request.session and request.session['mailingSubscribeRequired'] == 'true':