Update Registration/Signin Page to include static message

This commit is contained in:
Saleem Latif
2018-01-16 14:58:34 +05:00
parent 6215945b6f
commit 2ae02a6559
4 changed files with 10 additions and 6 deletions

View File

@@ -90,9 +90,10 @@ def get_enterprise_sidebar_context(enterprise_customer):
settings.ENTERPRISE_SPECIFIC_BRANDED_WELCOME_TEMPLATE
)
branded_welcome_string = branded_welcome_template.format(
start_bold=u'<b>',
end_bold=u'</b>',
branded_welcome_string = Text(branded_welcome_template).format(
start_bold=HTML('<b>'),
end_bold=HTML('</b>'),
line_break=HTML('<br/>'),
enterprise_name=enterprise_customer['name'],
platform_name=platform_name
)