Put mailto and em tags outside i18n strings

Signup modal

Contact us form

courseware-error message
This commit is contained in:
Sarina Canelake
2014-04-06 16:06:20 -04:00
parent 2d08b3a394
commit 034105d2e7
9 changed files with 92 additions and 36 deletions

View File

@@ -13,7 +13,16 @@
<section class="container">
<section class="outside-app">
<h1>${_('There has been an error on the {span_start}{platform_name}{span_end} servers').format(platform_name=settings.PLATFORM_NAME, span_start='<span class="edx">', span_end='</span>')}</h1>
<p>${_("We're sorry, this module is temporarily unavailable. Our staff is working to fix it as soon as possible. Please email us at '<a href=\"mailto:{tech_support_email}\">{tech_support_email}</a>' to report any problems or downtime.").format(tech_support_email=settings.TECH_SUPPORT_EMAIL)}</p>
<h1>
${_('There has been an error on the {platform_name} servers').format(
platform_name='<span class="edx">{}</span>'.format(settings.PLATFORM_NAME)
)}
</h1>
<p>
${_("We're sorry, this module is temporarily unavailable. Our staff is working to fix "
"it as soon as possible. Please email us at {tech_support_email}' to report any problems or downtime.").format(
tech_support_email='<a href=\"mailto:{0}\">{0}</a>'.format(settings.TECH_SUPPORT_EMAIL)
)}
</p>
</section>
</section>