TRI-293: add customer-form + adaptive
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user