updated cms pages
This commit is contained in:
@@ -17,11 +17,8 @@ from openedx.core.djangolib.markup import HTML, Text
|
|||||||
<article class="content-primary" role="main">
|
<article class="content-primary" role="main">
|
||||||
<p>
|
<p>
|
||||||
${_('The page that you were looking for was not found.')}
|
${_('The page that you were looking for was not found.')}
|
||||||
${Text(_('Go back to the {homepage} or let us know about any pages that may have been moved at {email}.')).format(
|
${Text(_('Go back to the {homepage}.')).format(
|
||||||
homepage=HTML('<a href="/">homepage</a>'),
|
homepage=HTML('<a href="/">homepage</a>'),
|
||||||
email=HTML('<a href="mailto:{address}">{address}</a>').format(
|
|
||||||
address=Text(settings.TECH_SUPPORT_EMAIL)
|
|
||||||
)
|
|
||||||
)}
|
)}
|
||||||
</p>
|
</p>
|
||||||
</article>
|
</article>
|
||||||
|
|||||||
@@ -29,10 +29,6 @@ ${Text(_("{studio_name} Server Error")).format(
|
|||||||
studio_name=Text(settings.STUDIO_SHORT_NAME),
|
studio_name=Text(settings.STUDIO_SHORT_NAME),
|
||||||
)}
|
)}
|
||||||
${_("We've logged the error and our staff is currently working to resolve this error as soon as possible.")}
|
${_("We've logged the error and our staff is currently working to resolve this error as soon as possible.")}
|
||||||
${Text(_(u'If the problem persists, please email us at {email_link}.')).format(
|
|
||||||
email_link=HTML(u'<a href="mailto:{email_address}">{email_address}</a>').format(
|
|
||||||
email_address=Text(settings.TECH_SUPPORT_EMAIL),
|
|
||||||
)
|
|
||||||
)}
|
)}
|
||||||
</p>
|
</p>
|
||||||
</article>
|
</article>
|
||||||
|
|||||||
@@ -14,26 +14,17 @@ from django.conf import settings
|
|||||||
% endif
|
% endif
|
||||||
</%block>
|
</%block>
|
||||||
|
|
||||||
<%!
|
|
||||||
help_link_start = '<a href="mailto:{email}">'.format(email=settings.TECH_SUPPORT_EMAIL)
|
|
||||||
help_link_end = '</a>'
|
|
||||||
%>
|
|
||||||
|
|
||||||
<%block name="content">
|
<%block name="content">
|
||||||
<article class="error-prompt">
|
<article class="error-prompt">
|
||||||
% if error == '404':
|
% if error == '404':
|
||||||
<h1>${_("The Page You Requested Page Cannot be Found")}</h1>
|
<h1>${_("The Page You Requested Page Cannot be Found")}</h1>
|
||||||
<p class="description">${Text(_("We're sorry. We couldn't find the {studio_name} page you're looking for. You may want to return to the {studio_name} Dashboard and try again. If you are still having problems accessing things, please feel free to {link_start}contact {studio_name} support{link_end} for further help.")).format(
|
<p class="description">${Text(_("We're sorry. We couldn't find the {studio_name} page you're looking for. You may want to return to the {studio_name} Dashboard and try again.")).format(
|
||||||
studio_name=settings.STUDIO_SHORT_NAME,
|
studio_name=settings.STUDIO_SHORT_NAME
|
||||||
link_start=HTML(help_link_start),
|
|
||||||
link_end=HTML(help_link_end),
|
|
||||||
)}</p>
|
)}</p>
|
||||||
% elif error == '500':
|
% elif error == '500':
|
||||||
<h1>${_("The Server Encountered an Error")}</h1>
|
<h1>${_("The Server Encountered an Error")}</h1>
|
||||||
<p class="description">${Text(_("We're sorry. There was a problem with the server while trying to process your last request. You may want to return to the {studio_name} Dashboard or try this request again. If you are still having problems accessing things, please feel free to {link_start}contact {studio_name} support{link_end} for further help.")).format(
|
<p class="description">${Text(_("We're sorry. There was a problem with the server while trying to process your last request. You may want to return to the {studio_name} Dashboard or try this request again.")).format(
|
||||||
studio_name=settings.STUDIO_SHORT_NAME,
|
studio_name=settings.STUDIO_SHORT_NAME,
|
||||||
link_start=HTML(help_link_start),
|
|
||||||
link_end=HTML(help_link_end),
|
|
||||||
)}</p>
|
)}</p>
|
||||||
% endif
|
% endif
|
||||||
<a href="/" class="back-button">${_("Back to dashboard")}</a>
|
<a href="/" class="back-button">${_("Back to dashboard")}</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user